/* ==========================================================================
   DERMOESTÉTICA R. VARGAS - HOJA DE ESTILOS OPTIMIZADA Y PURGADA
   Estilo: Minimalista, Elegante, Premium
   ========================================================================== */

/* 1. IMPORTACIÓN DE FUENTES */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Montserrat:wght@300;400;500;600;700&display=swap");

/* 2. VARIABLES DEL SISTEMA DE DISEÑO */
:root {
  --bg-primary: #fdf7f7;
  --bg-secondary: #f6ebeb;
  --bg-white: #ffffff;
  --primary: #c5a984;
  --primary-hover: #a98e6b;
  --secondary: #cf8d81;
  --secondary-hover: #b57569;
  --text-main: #2a2a2a;
  --text-muted: #505050;
  --text-light: #ffffff;
  --border-color: #f3e4e2;

  --whatsapp: #25d366;
  --whatsapp-hover: #20ba5a;

  --font-title: "Cormorant Garamond", serif;
  --font-body: "Montserrat", sans-serif;

  --shadow-subtle: 0 4px 20px rgba(207, 141, 129, 0.05);
  --shadow-medium: 0 10px 30px rgba(207, 141, 129, 0.08);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  --section-padding: 100px 0;
}

/* 3. RESET GENERAL */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-primary);
  font-family: var(--font-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background-color: var(--secondary);
  color: var(--text-light);
}

/* 4. TIPOGRAFÍA Y BASE */
h1,
h2,
h3,
h4 {
  font-family: var(--font-title);
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.2;
}

p {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 5. BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(100%);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(197, 169, 132, 0.25);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* 6. CABECERA Y NAVEGACIÓN */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-subtle);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition-smooth);
}

.site-header.scrolled .nav-container {
  height: 70px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-light);
}

.site-header.scrolled .logo-container {
  color: var(--text-main);
}

.logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.site-header:not(.scrolled) .logo-img {
  filter: brightness(0) invert(1);
}

.site-header.scrolled .logo-img {
  filter: none;
  height: 38px;
}

.brand-text-container {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: inherit;
  transition: var(--transition-smooth);
}

.brand-title-top {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  font-weight: 500;
  text-transform: uppercase;
}

.brand-title-bottom {
  font-family: var(--font-title);
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  font-weight: 400;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
  padding: 8px 0;
  position: relative;
}

.site-header.scrolled .nav-link {
  color: var(--text-main);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--primary) !important;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-val-btn {
  background-color: var(--primary);
  color: var(--text-light) !important;
  padding: 8px 18px !important;
  border-radius: 0;
  margin-left: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  border: 1px solid var(--primary);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-val-btn:hover {
  background-color: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
  color: var(--text-light) !important;
  transform: translateY(-1px);
}

.site-header:not(.scrolled):not(.site-header-page) .nav-val-btn {
  background-color: rgba(253, 247, 247, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--text-light) !important;
}

.site-header:not(.scrolled):not(.site-header-page) .nav-val-btn:hover {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--text-light) !important;
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1100;
}

.burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  position: absolute;
  transition: var(--transition-smooth);
}

.site-header.scrolled .burger-line {
  background-color: var(--text-main);
}

.burger-line-1 {
  top: 2px;
}
.burger-line-2 {
  top: 11px;
}
.burger-line-3 {
  top: 20px;
}

.burger-btn.active .burger-line {
  background-color: var(--text-main) !important;
}

.burger-btn.active .burger-line-1 {
  transform: rotate(45deg);
  top: 11px;
}
.burger-btn.active .burger-line-2 {
  opacity: 0;
}
.burger-btn.active .burger-line-3 {
  transform: rotate(-45deg);
  top: 11px;
}

/* 7. HERO / BANNER PRINCIPAL */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text-light);
  text-align: center;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.72);
  z-index: -1;
}

.hero-content {
  max-width: 850px;
  padding: 0 20px;
  z-index: 1;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s forwards cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.hero-subtitle {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-transform: uppercase;
}

.hero-title span {
  font-style: italic;
  color: #ffffff;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hero-actions .btn-primary {
  background-color: var(--bg-primary);
  color: var(--text-main);
}
.hero-actions .btn-primary:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

/* 8. SECCIONES: TÍTULOS COMUNES */
.section {
  padding: var(--section-padding);
}

.section-bg {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--primary);
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
}

.section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 400;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 1px;
  background-color: var(--primary);
}

.subsection-header {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 35px;
}

.treatment-subsection-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.treatment-subsection-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

/* 9. SECCIÓN TRATAMIENTOS */
.treatments-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.treatment-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: var(--primary);
}

.featured-card {
  position: relative;
  border: 1px solid var(--primary) !important;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-subtle);
  padding-top: 55px !important;
}

.featured-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
}

.featured-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--secondary);
  color: var(--text-light);
  font-size: 0.65rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 8px;
}

.treatment-icon {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--primary);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1;
}

.treatment-title {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--bg-secondary);
  padding-bottom: 12px;
}

.treatment-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
  font-weight: 300;
}

.other-treatments-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 35px 40px;
}

.other-treatments-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.other-treatments-list li {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
  position: relative;
  padding-left: 18px;
  line-height: 1.4;
  text-align: left;
}

.other-treatments-list li::before {
  content: "•";
  color: var(--primary);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  line-height: 1;
  top: -2px;
}

/* 10. SECCIÓN ACERCA DE MÍ */
.about-grid-custom {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.about-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-row-reverse {
  grid-template-columns: 1.2fr 1fr;
}

.about-col-img {
  position: relative;
  padding-bottom: 15px;
}

.about-img-frame {
  border: 1px solid var(--primary);
  padding: 15px;
  background-color: var(--bg-white);
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.about-img-frame:hover {
  border-color: var(--secondary);
  transform: translateY(-5px);
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  filter: grayscale(12%);
  transition: var(--transition-smooth);
}

.about-img-frame:hover .about-img {
  filter: grayscale(0%);
}

.about-col-img::after {
  content: "";
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  z-index: 1;
}

.about-col-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-tagline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--primary);
}

.about-role {
  font-family: var(--font-title);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.2;
}

.about-bio-text {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-bullet-item {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  position: relative;
  padding-left: 24px;
  line-height: 1.6;
}

.about-bullet-item::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary);
  font-size: 0.85rem;
}

/* 11. SECCIÓN PROCESO */
#proceso {
  padding: 60px 0;
}

.process-grid-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  margin-top: 20px;
}

.process-col-img {
  position: relative;
  padding-bottom: 15px;
  height: 100%;
}

.process-img-frame {
  border: 1px solid var(--primary);
  padding: 15px;
  background-color: var(--bg-white);
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
  height: 100%;
}

.process-img-frame:hover {
  border-color: var(--secondary);
  transform: translateY(-5px);
}

.process-img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  filter: grayscale(12%);
  transition: var(--transition-smooth);
}

.process-img-frame:hover .process-img {
  filter: grayscale(0%);
}

.process-col-img::after {
  content: "";
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  z-index: 1;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.process-step-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px 20px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.process-step-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-medium);
}

.process-step-num {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: var(--secondary);
  line-height: 1;
  font-style: italic;
  opacity: 0.8;
}

.process-step-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-main);
}

.process-step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 400;
}

/* 12. SLIDER DE RESEÑAS & GOOGLE REVIEWS */
.google-reviews-badge {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  margin-bottom: 30px;
}

.google-badge-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-white);
  padding: 14px 28px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.google-badge-card:hover,
.google-badge-card:focus,
.google-badge-card:visited {
  text-decoration: none;
  color: inherit;
}

.google-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.google-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
}

.google-badge-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.03em;
}

.google-rating-score {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
}

.score-num {
  font-size: 1.15rem;
  font-weight: 700;
  color: #202124;
}

.google-stars {
  color: #fbbc04;
  font-size: 1.15rem;
  letter-spacing: 2px;
}

.google-badge-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.slider-wrapper {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 40px;
}

.slider-container {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.slide {
  min-width: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: none;
}

.slide.active {
  opacity: 1;
  display: block;
}

.review-card {
  text-align: left;
  padding: 35px 45px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-subtle);
  position: relative;
  transition: var(--transition-smooth);
}

.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(243, 228, 226, 0.6);
  padding-bottom: 15px;
}

.review-author-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c5a984 0%, #cf8d81 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  font-family: var(--font-body);
  box-shadow: 0 3px 10px rgba(207, 141, 129, 0.2);
}

.review-author {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: normal;
  color: var(--text-main);
  font-weight: 600;
  display: block;
}

.review-badge-verified {
  font-size: 0.72rem;
  color: #5f6368;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.review-card .review-stars {
  color: #fbbc04;
  font-size: 1.15rem;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.review-text {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.5;
  margin-bottom: 15px;
}

.reviews-actions-group {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 45px;
}


.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  padding: 10px;
  z-index: 10;
  transition: var(--transition-smooth);
}

.slider-btn:hover {
  color: var(--secondary);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 0;
}
.next-btn {
  right: 0;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

/* 13. PIE DE PÁGINA (FOOTER) */
.site-footer {
  background-color: #1a1a1a;
  color: #e2ddd5;
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(226, 221, 213, 0.1);
}

.footer-simple-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  text-align: center;
  margin-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-phrase {
  font-size: 0.95rem;
  color: #a6a6a6;
  line-height: 1.7;
  max-width: 400px;
}

.footer-location-simple {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
}

.footer-contact-details-simple {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-contact-item-simple {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(226, 221, 213, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
}

.footer-wa-btn {
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary) !important;
  padding: 10px 20px !important;
  font-size: 0.75rem;
  transition: var(--transition-smooth);
}

.footer-wa-btn:hover {
  background-color: var(--primary);
  color: var(--text-light) !important;
  transform: translateY(-2px);
}

.footer-bottom-centered {
  border-top: 1px solid rgba(226, 221, 213, 0.05);
  padding-top: 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.82rem;
  color: #a6a6a6;
  width: 100%;
}

.footer-socket-line {
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
  flex: 1;
}

.footer-bottom-centered .footer-socket-line:nth-child(1) {
  text-align: left;
}
.footer-bottom-centered .footer-socket-line:nth-child(2) {
  text-align: center;
}
.footer-bottom-centered .footer-socket-line:nth-child(3) {
  text-align: right;
}

.footer-legal-links a {
  color: #a6a6a6;
  margin: 0 8px;
  transition: var(--transition-smooth);
}

.footer-legal-links a:hover {
  color: var(--primary);
}

.footer-creator {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: #a6a6a6;
}

.footer-creator a {
  color: #38a57a;
  transition: var(--transition-smooth);
}

.footer-creator a:hover {
  color: #2e8b65;
}

.footer-creator strong {
  color: #38a57a;
  font-weight: 600;
}

/* 14. BOTÓN WHATSAPP FLOTANTE */
.whatsapp-float {
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 45px;
  height: 45px;
  background-color: var(--whatsapp);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
  z-index: 1500;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  background-color: var(--whatsapp-hover);
}

.whatsapp-icon-svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
  display: block;
}

/* 15. MODAL DE VALORACIÓN */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(18, 18, 18, 0.96);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  overflow-y: auto;
  padding: 80px 20px 40px 20px;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  max-width: 800px;
  width: 100%;
  position: relative;
  margin: auto;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 10;
}

.modal-close:hover {
  color: var(--primary);
  transform: scale(1.15) rotate(90deg);
}

.valuation-modal-content {
  background-color: var(--bg-primary);
  padding: 45px 35px;
  border: 1px solid var(--primary);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  max-width: 500px !important;
  width: 100%;
  margin: auto;
}

.modal-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 12px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.5;
  font-weight: 400;
}

.form-group-custom {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group-custom label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-main);
}

.form-group-custom input,
.form-group-custom select {
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  color: var(--text-main);
  transition: var(--transition-smooth);
  border-radius: 0;
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-group-custom select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23C5A984' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-position-x: calc(100% - 12px);
  background-size: 18px;
  padding-right: 40px;
}

.form-group-custom input:focus,
.form-group-custom select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 8px rgba(197, 169, 132, 0.2);
}

.btn-submit-val {
  width: 100%;
  margin-top: 10px;
  padding: 15px !important;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

/* 16. PÁGINAS LEGALES Y SECUNDARIAS */
.site-header-page {
  background-color: #ffffff !important;
  border-bottom: 1px solid var(--border-color) !important;
  box-shadow: var(--shadow-subtle) !important;
}

.site-header-page .nav-container {
  height: 70px !important;
}

.site-header-page .logo-container {
  color: var(--text-main) !important;
}

.site-header-page .logo-img {
  height: 45px !important;
  filter: none !important;
}

.site-header-page .nav-link {
  color: var(--text-main) !important;
}

.site-header-page .burger-line {
  background-color: var(--text-main) !important;
}

.legal-section {
  padding: 140px 0 80px 0;
  background-color: var(--bg-primary);
}

.legal-card {
  background-color: var(--bg-white);
  padding: 45px 50px;
  border-radius: 0;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-color);
}

.legal-title {
  font-family: var(--font-title);
  font-size: 2.8rem;
  color: var(--text-main);
  margin-bottom: 10px;
  text-align: center;
}

.legal-subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 40px;
}

.legal-body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.legal-body h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--text-main);
  margin-top: 35px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.legal-body h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--primary);
  margin-top: 25px;
  margin-bottom: 12px;
}

.legal-body p {
  margin-bottom: 20px;
  text-align: justify;
}

.legal-body ul,
.legal-body ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.legal-body li {
  margin-bottom: 10px;
}

.legal-body strong {
  color: var(--text-main);
}

.legal-developer-credit {
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem !important;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

.legal-developer-credit a {
  color: var(--primary);
  text-decoration: underline;
  transition: var(--transition-smooth);
}

.legal-developer-credit a:hover {
  color: var(--primary-hover);
}

/* 17. ANIMACIONES */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   18. DISEÑO RESPONSIVO UNIFICADO (MEDIA QUERIES)
   ========================================================================== */

/* TABLETS EN ORIENTACIÓN HORIZONTAL / PANTALLAS MEDIANAS (993px - 1199px) */
@media (max-width: 1199px) {
  :root {
    --section-padding: 85px 0;
  }

  .container {
    width: 92%;
    max-width: 1100px;
  }

  .nav-menu {
    gap: 18px;
  }

  .nav-link {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .nav-val-btn {
    padding: 7px 14px !important;
    margin-left: 8px;
    font-size: 0.72rem;
  }

  .treatments-featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .about-row,
  .about-row-reverse {
    gap: 45px;
  }

  .about-img {
    height: 420px;
  }

  .process-grid-container {
    gap: 35px;
  }
}

/* TABLETS EN ORIENTACIÓN VERTICAL (PORTRAIT, 769px - 992px) */
@media (max-width: 992px) {
  :root {
    --section-padding: 75px 0;
  }

  .container {
    width: 90%;
    padding: 0 20px;
  }

  .burger-btn {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 360px;
    height: 100vh;
    background-color: var(--bg-primary);
    box-shadow: -10px 0 35px rgba(42, 42, 42, 0.12);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
    z-index: 1050;
    transition: var(--transition-smooth);
    padding: 40px 30px;
    border-left: 1px solid var(--border-color);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .nav-menu .nav-link {
    color: var(--text-main) !important;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
  }

  .nav-menu .nav-val-btn {
    color: var(--text-light) !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    margin-left: 0 !important;
    margin-top: 15px;
    width: 85%;
    max-width: 240px;
    padding: 12px 20px !important;
    text-align: center;
    display: flex !important;
    justify-content: center;
    align-items: center;
  }

  .hero-section {
    min-height: 540px;
  }

  .hero-content {
    max-width: 720px;
    padding: 0 25px;
  }

  .hero-title {
    font-size: 2.6rem;
    margin-bottom: 22px;
  }

  .about-grid-custom {
    gap: 65px;
  }

  .about-row,
  .about-row-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-row-reverse .about-col-content {
    order: 2;
  }

  .about-row-reverse .about-col-img {
    order: 1;
  }

  .about-col-img {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .about-img {
    height: 400px;
  }

  .about-col-content {
    max-width: 650px;
    margin: 0 auto;
    width: 100%;
  }

  .about-role {
    font-size: 1.75rem;
  }

  .process-grid-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-col-img {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
    height: auto;
  }

  .process-img-frame {
    height: auto;
  }

  .process-img {
    height: 360px;
    min-height: auto;
  }

  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 750px;
    margin: 0 auto;
    width: 100%;
  }

  .process-step-item {
    padding: 18px 22px;
  }

  .slider-wrapper {
    max-width: 720px;
    padding: 20px 45px;
  }

  .review-card {
    padding: 35px 35px;
  }

  .review-text {
    font-size: 1.35rem;
    line-height: 1.5;
  }

  .other-treatments-container {
    padding: 32px 35px;
  }

  .other-treatments-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
  }

  .footer-contact-details-simple {
    gap: 20px;
  }

  .legal-section {
    padding: 120px 0 60px 0;
  }
  .legal-card {
    padding: 40px 35px;
  }
  .legal-title {
    font-size: 2.4rem;
  }
}

/* SMARTPHONES Y TABLETS PEQUEÑAS (HASTA 768px) */
@media (max-width: 768px) {
  :root {
    --section-padding: 65px 0;
  }

  .nav-menu {
    max-width: 100%;
    box-shadow: none;
    border-left: none;
  }

  .hero-actions {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .process-steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-contact-details-simple {
    flex-direction: column;
    gap: 15px;
  }

  .footer-bottom-centered {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-bottom-centered .footer-socket-line {
    text-align: center !important;
  }

  .legal-section {
    padding: 110px 0 50px 0;
  }
  .legal-card {
    padding: 30px 20px;
  }
  .legal-title {
    font-size: 2rem;
  }
}

/* MÓVILES MEDIANOS (HASTA 576px) */
@media (max-width: 576px) {
  .treatments-featured-grid {
    grid-template-columns: 1fr;
  }

  .valuation-modal-content {
    padding: 35px 20px;
  }

  .slider-wrapper {
    padding: 15px 30px;
  }

  .review-card {
    padding: 24px 18px;
  }

  .google-badge-card {
    padding: 10px 16px;
    width: 100%;
    max-width: 320px;
  }

  .reviews-actions-group .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .slider-btn {
    font-size: 1.25rem;
  }
}

/* MÓVILES COMPACTOS (HASTA 480px) */
@media (max-width: 480px) {
  .brand-title-top {
    font-size: 0.55rem;
  }

  .brand-title-bottom {
    font-size: 1.1rem;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .about-role {
    font-size: 1.4rem;
  }

  .other-treatments-list {
    grid-template-columns: 1fr;
  }

  .other-treatments-container {
    padding: 22px 18px;
  }

  .footer-bottom-centered {
    gap: 10px;
    font-size: 0.75rem;
  }

  .whatsapp-float {
    width: 38px;
    height: 38px;
    bottom: 12px;
    right: 12px;
  }

  .whatsapp-icon-svg {
    width: 20px;
    height: 20px;
  }
}
