/* ========== Main Stylesheet ========== */
:root {
  /* Colors */
  --primary:        #8D6E63;
  --primary-dark:   #5D4037;
  --primary-light:  #614944;
  --accent:         #D7B899;
  --accent-light:   #e8cdb0;
  --bg-light:       #FFFBF7;
  --bg-alt:         #F3E5D8;
  --header-bg:      #4E342E;
  --footer-bg:      #4E342E;
  --text-primary:   #5D4037;
  --text-secondary: #6D4C41;
  --text-light:     #BCAAA4;
  --highlight:      #FFC107;
  --white:          #ffffff;

  /* Typography */
  --font:        'RobotoCustom', sans-serif;
  --fs-sm:       15px;
  --fs-base:     18px;
  --fs-md:       20px;
  --fs-lg:       22px;
  --fs-xl:       24px;
  --fs-2xl:      26px;
  --fs-3xl:      30px;
  --fs-hero:     clamp(38px, 6vw, 38px);

  /* Layout */
  --radius:      15px;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-full: 999px;
  --shadow:      0 5px 25px rgba(93,64,55,0.15);
  --transition:  0.3s ease;
  --section-pad: 40px 0;
  --navbar-h:    65px;
}
/* ========== RESET ========== */
*, *::before, *::after {box-sizing: border-box;margin: 0;padding: 0;}
html, body {
  overflow-x: hidden;
}
body {
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 400;
  background: var(--bg-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  margin: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;}
section[id], footer[id] {scroll-margin-top: var(--navbar-h);}
a {
  text-decoration: none;
  color: inherit;
}
/* ========== CONTAINER ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) {
  .container {padding: 0 20px;}
}
/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;left: 0;right: 0;
  z-index: 1000;
  background: var(--header-bg);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-h);
  padding: 0 14px;
  max-width: 2100px;
  margin: 0 auto;
  position: relative;
}

/* ====== CENTER ====== */
.navbar-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 40%;
  display: flex;
  justify-content: center;
  z-index: 10;
}
.enrica-beauty-lab-svg {
  filter: invert(1);
  width: clamp(150px, 59vw, 330px);
  height: auto;
  display: block;
  padding: 5px;
}

/* ====== RIGHT ====== */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 80px;
  justify-content: flex-end;
}
.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: var(--fs-lg);
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover {
  color: var(--accent);
  background: rgba(255,255,255,0.08);
}
.hamburger {
  display: inline-flex;
  background: var(--primary-light);
  border: 2px solid var(--text-light);
  border-radius: var(--radius-full);
  padding: 1px;
}
.hamburger {
  gap: 5px;
  padding: 10px 13px;
  cursor: pointer;
  flex-direction: column;
  display: none;
}
.hamburger span {
  display: block;
  width: 20px;height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ====== LEFT ====== */
.navbar-left {min-width: 80px;}
.lang-dropdown {position: relative;}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border: 2px solid var(--text-light);
  border-radius: var(--radius-full);
  padding: 10px 13px;
  cursor: pointer;
  color: var(--white);
  font-family: var(--font);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 1px;
  transition: background var(--transition), border-color var(--transition);
}
.lang-toggle:hover {background: rgba(255,255,255,0.15);}
.lang-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--navbar-h);
  left: 0;
  right: 0;
  background: var(--header-bg);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 8px 0 16px;
  z-index: 1001;
}
.lang-menu.open {display: flex;}
.lang-option {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  appearance: none;
  line-height: 1.4;
  text-align: left;
  color: rgba(255,255,255,0.85);
  font-family: var(--font);
  font-size: var(--fs-xl);
  font-weight: 500;
  padding: 6px 14px 1px 14px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.lang-option.active {color: var(--accent);}
.lang-option:hover:not(.active) {background: rgba(255,255,255,0.08);color: var(--accent);}

/* ====== MOBILE ====== */
.mobile-menu {
  align-items: flex-end;
  display: none;
  flex-direction: column;
  background: var(--header-bg);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 8px 0 16px;
}
.mobile-menu.open {display: flex;}
.mobile-nav-link {
  display: block;
  text-align: right;
  color: rgba(255,255,255,0.85);
  font-size: var(--fs-lg);
  font-weight: 500;
  padding: 12px 24px;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav-link:hover {
  background: rgba(255,255,255,0.08);
  color: var(--accent);
}
@media (max-width: 2100px) {
  .navbar-right {display: none;}
  .hamburger {display: flex;}
}
/* ========== HERO ========== */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  margin-top: var(--navbar-h);
}
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  z-index: 2;
}
.logo-svg {
  width: clamp(200px, 99vw, 800px);
  height: auto;
  filter: 
    /* drop-shadow(0 0 0 rgba(0,0,0,0.6))
    drop-shadow(0 0 0 rgba(0,0,0,0.6)) */
    drop-shadow(0 0 6px rgba(0,0,0,1));
}
.hero-logo-block {
  text-align: center;
  animation: heroFadeIn 1.2s ease both;
  margin-top: -30px;
}
.hero-title {
  color: #ffffff;
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  font-family: var(--font);
  letter-spacing: 2px;
  margin: 0 auto;
  z-index: 2;
  text-shadow:
  0 0 2px rgba(0,0,0,0.6),
  0 0 4px rgba(0,0,0,0.4),
  0 0 6px rgba(0,0,0,0.3);
}
.hero-subtitle {
  color: #ffffff;
  text-align: center;
  font-size: clamp(1rem, 4vw, 1rem);
  font-weight: 600;
  font-family: var(--font);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 auto;
  z-index: 2;
  text-shadow:
    0 0 2px rgba(0,0,0,0.6),
    0 0 4px rgba(0,0,0,0.4),
    0 0 6px rgba(0,0,0,0.3);
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.slide {
  opacity: 0;
}
.slide.active {
  opacity: 1;
  transition: opacity 0.8s ease;
}
.slide-1 {
  opacity: 1;
  transition: none;
}
.slide-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.slide-arrows {
  position: absolute;
  top: 50%;
  left: 0;right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  z-index: 3;
}
.arrow-btn {
  background: rgba(0,0,0,0.4);
  border: none;
  width: 50px;height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background var(--transition);
}
.arrow-btn:hover {background: rgba(0,0,0,0.55);}
.arrow-btn::before {
  content: '';
  display: block;
  width: 10px;height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
}
.arrow-btn.left::before {transform: rotate(135deg);}
.arrow-btn.right::before {transform: rotate(-45deg);}
.slide-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.dot {
  width: 10px;height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all var(--transition);
}
.dot.active {
  width: 16px;height: 16px;
  background: var(--highlight);
  border: 2px solid var(--white);
}
/* ========== SECTIONS ========== */
.about-section,
.treatments-section,
.brands-section,
.contacts-section {padding: var(--section-pad);}

.about-section{ background: var(--bg-alt);}
.treatments-section {background: var(--bg-light);}
.brands-section {background: var(--bg-alt);}
.contacts-section{ background: var(--bg-light);}

.section-header {text-align: center;margin-bottom: 40px;}
.section-header.left-aligned {text-align: left;}
.section-header.left-aligned .section-title {font-size: var(--fs-hero);}
.section-title {
  font-family: var(--font);
  font-size: var(--fs-hero);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-rendering: optimizeLegibility;
}
/* ========== ABOUT ========== */
.about-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about-body {
  font-size: var(--fs-base);
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
/* ========== TREATMENTS ========== */
.treatment-block {margin-bottom: 8px;}
.treatment-cat {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.treatment-divider {
  height: 1px;
  background: var(--bg-alt);
  margin: 36px 0;
}
.treatment-rows {
  display: flex;
  flex-direction: column;
}
.treatment-rows.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}
@media (max-width: 600px) {
  .treatment-rows.two-col {grid-template-columns: 1fr;}
}
.t-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(215,184,153,0.25);
  transition: background var(--transition);
}
.t-row:last-child {border-bottom: none;}
.t-row:hover {background: rgba(215,184,153,0.08);}
.t-name {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  flex: 1;
  line-height: 1;
}
.t-name-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.t-name-stack > span {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.4;
}
.t-desc {
  font-size: var(--fs-sm);
  color: var(--primary);
  line-height: 1.5;}
.t-price {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
  min-width: 50px;
  text-align: right;
}
/* ========== BRANDS ========== */
.brands-card {
  background: var(--bg-light);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 50px 40px 40px;
  max-width: 1400px;
  margin: 0 auto;
  width: 80%;
}
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}
.brand-item {
  width: 240px;
  height: 130px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  border-radius: 12px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.brand-item:hover {
  box-shadow: 0 4px 20px rgba(141, 110, 99, 0.2);
  transform: translateY(-3px);
}
.brand-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brands-subtitle {
  font-family: 'RobotoCustom';
  font-size: 22px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 16px;
}
.brands-desc {
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
/* ========== CONTACTS ========== */
.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
@media (max-width: 900px) {
  .contacts-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
}
.contact-info {order: 2;}
.map-wrapper {order: 1;}
#contacts .section-header {text-align: center;}
@media (max-width: 900px) {
  .contacts-layout {grid-template-columns: 1fr;gap: 40px;}
  .contact-info {order: 1;text-align: center;}
  .map-wrapper {order: 2;}
  .contact-btns {justify-content: center;}
  .contact-btn {width: auto;flex-shrink: 0;}
}
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 480px;
}
#map {width: 100%;height: 100%;}
@media (max-width: 500px) {
  .map-wrapper {
    height: 280px;
  }
}
.custom-marker {
  background: transparent !important;
  border: none !important;
}
.contact-text {
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.contact-btns {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.address-btn {
  flex-basis: auto;
  width: fit-content;
  white-space: nowrap;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 12px;
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 600;
  border: 1px solid;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
  width: auto;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
.contact-btn:hover {transform: translateY(-2px) translateX(2px);box-shadow: 3px 4px 0 rgba(0,0,0,0.15);}
.contact-icon {width: 28px;height: 28px;flex-shrink: 0;}

/* WhatsApp */
.whatsapp-btn {
  color: #116B37;
  border-color: rgba(37, 211, 102, 1);
  background: #E6F6EB;
  box-shadow: 3px 3px 0 rgba(37, 211, 102, 1);
}
.whatsapp-btn:hover {
  background: rgba(37, 211, 102, 0.28);
  box-shadow: 3px 3px 0 rgba(18, 140, 70, 0.25);
}

/* Instagram */
.instagram-btn {
  color: rgba(200, 0, 80, 0.98);
  border-color: rgba(225, 48, 108, 1);
  background: #FCE7EF;
  box-shadow: 3px 3px 0 rgba(225, 48, 108, 1);
}
.instagram-btn:hover {
  background: rgba(225, 48, 108, 0.28);
  box-shadow: 3px 3px 0 rgba(180, 20, 70, 0.25);
}

/* Phone */
.phone-btn {
  color: rgba(10, 100, 210, 0.98);
  border-color: rgba(33, 150, 243, 1);
  background: #E7F1FF;
  box-shadow: 3px 3px 0 rgba(33, 150, 243, 1);
}
.phone-btn:hover {
  background: rgba(33, 150, 243, 0.28);
  box-shadow: 3px 3px 0 rgba(10, 80, 180, 0.25);
}

/* Address */
.address-btn {
  color: rgba(200, 20, 10, 0.98);
  border-color: rgba(244, 67, 54, 1);
  background: #FDE8E7;
  box-shadow: 3px 3px 0 rgba(244, 67, 54, 1);
}
.address-btn:hover {
  background: rgba(244, 67, 54, 0.28);
  box-shadow: 3px 3px 0 rgba(180, 20, 10, 0.25);
}
.whatsapp-btn:hover {
  background: rgba(37, 211, 102, 0.22);
  box-shadow: 3px 3px 0 rgba(37, 211, 102, 1);
}
.instagram-btn:hover {
  background: rgba(225, 48, 108, 0.22);
  box-shadow: 3px 3px 0 rgba(225, 48, 108, 1);
}
.phone-btn:hover {
  background: rgba(33, 150, 243, 0.22);
  box-shadow: 3px 3px 0 rgba(33, 150, 243, 1);
}
.address-btn:hover {
  background: rgba(244, 67, 54, 0.22);
  box-shadow: 3px 3px 0 rgba(244, 67, 54, 1);
}
/* ========== FOOTER ========== */
.footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.85);
  padding: 40px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-areas: "social company hours";
  gap: 50px;
  padding-bottom: 50px;
}
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "social" "hours" "company";
    gap: 40px;
  }
}
.footer-social {grid-area: social;}
.footer-company {grid-area: company;}
.footer-hours {grid-area: hours;}
.social-wrapper {display: block;}
@media (max-width: 1100px) {
  .social-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: start;
  }
  .social-reviews {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
}
.footer-col-title {
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 18px;
}
.footer-col-text {
  font-size: var(--fs-base);
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
}

/* Social */
.social-circles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.social-circle {
  width: 52px;height: 52px;
  border-radius: 50%;
  background: rgba(244,67,54,0.9);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.social-circle svg {
  width: 22px;
  height: 22px;
}
.social-circle:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent);
  transform: scale(1.1);
}
.google-circle {background: var(--white);}

/* Hours Table */
.hours-table {display: flex;flex-direction: column;}
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.8);
}
.hours-val {
  color: var(--accent);
  font-weight: 600;
  font-size: var(--fs-base);
}
.hours-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
}

/* Company Info */
.footer-company-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.footer-company-details p {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
.footer-bottom-line {
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin-bottom: 20px;
}
.footer-copyright {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding-bottom: 24px;
}
/* ========== LEAFLET ========== */
.leaflet-control-attribution {font-size: 0px;}
/* ========== SCROLL ANIMATIONS ========== */
.fade-in {opacity: 0;transform: translateY(24px);transition: opacity 0.6s ease, transform 0.6s ease;}
.fade-in.visible {opacity: 1;transform: translateY(0);}
/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .about-section,
  .treatments-section,
  .brands-section,
  .contacts-section {padding: 60px 0;}

  .hero {height: 65vh;}
  .brands-card {padding: 30px 20px;}
  .brand-item {width: 240px;height: 140px;}
  .map-wrapper {height: 300px;}
  .footer-grid {padding-bottom: 32px;}
}