/* 
   ==========================================================================
   COSMÉTICA SAKURA - JACQUELINE THEME STYLING
   ==========================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&family=Mr+De+Haviland&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  /* Jacqueline Original Theme Palette */
  --primary: #f9a392;          /* Jacqueline Salmon Pink */
  --primary-hover: #f09988;    /* Darker Salmon */
  --secondary: #8ed4cc;        /* Jacqueline Pastel Mint/Teal */
  --secondary-hover: #72bfb7;  /* Richer Mint */
  
  --dark-charcoal: #1d1d1d;    /* Heavy Charcoal */
  --text-dark: #323232;        /* Dark Slate */
  --text-light: #9a9a9a;       /* Muted Gray */
  --border-color: #eaeaea;     /* Soft Border */
  
  --bg-light: #ffffff;
  --bg-gray: #f8f8f8;          /* Classic Warm Gray Section */
  --bg-sand: #f5f2eb;
  
  /* Fonts */
  --font-title: 'Raleway', sans-serif;
  --font-script: 'Mr De Haviland', cursive;
  --font-serif: 'Lora', Georgia, serif;
  
  /* Shadow & Spacing */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);
  --transition-normal: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-serif);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.8;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--dark-charcoal);
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

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

/* Section Header Titles (Jacqueline Style) */
.sc_title_decoration {
  text-align: center;
  margin-bottom: 4rem;
}

.sc_item_subtitle {
  font-family: var(--font-script);
  font-size: 3.5rem;
  color: var(--primary);
  display: block;
  line-height: 0.8;
  margin-bottom: 0.2rem;
  font-weight: 400;
  text-transform: none;
}

.sc_item_title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--dark-charcoal);
  position: relative;
  display: inline-block;
  padding-bottom: 1.5rem;
}

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

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

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

/* Full-width who-we-are strip */
.who-we-are-section {
  padding: 6rem 0;
  width: 100%;
}

.who-we-are-section .who-we-are-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.who-we-are-section .sc_item_subtitle {
  display: block;
  margin-bottom: 0.75rem;
}

.who-we-are-section .sc_item_title {
  margin-bottom: 1.5rem;
}

/* Header / Menu Overlay style */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition-normal);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.scrolled {
  position: fixed;
  background-color: var(--bg-light);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-bottom: 1px solid var(--border-color);
  padding: 0.8rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-anchor {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 55px;
  width: auto;
  transition: var(--transition-normal);
}

.header.scrolled .logo-img {
  height: 46px;
  filter: none; /* If it has filters */
}

/* Header Text style */
.logo-text {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--bg-light);
  margin-left: 0.8rem;
  transition: var(--transition-normal);
}

.header.scrolled .logo-text {
  color: var(--dark-charcoal);
}

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bg-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.5rem 0;
}

.header.scrolled .nav-item > a {
  color: var(--text-dark);
}

.nav-item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary);
  transition: var(--transition-normal);
}

.nav-item:hover > a {
  color: var(--primary) !important;
}

.nav-item:hover > a::after {
  width: 100%;
}

.nav-item.active > a {
  color: var(--primary) !important;
}

.nav-item.active > a::after {
  width: 100%;
}

/* Submenu Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-hover);
  width: 240px;
  padding: 0.8rem 0;
  border-radius: 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 100;
  list-style: none;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item a {
  display: block;
  padding: 0.6rem 1.8rem;
  font-family: var(--font-title);
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-dark);
  text-align: left;
}

.dropdown-item a:hover {
  background-color: var(--bg-gray);
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--bg-light);
  margin: 5px 0;
  transition: var(--transition-normal);
}

.header.scrolled .nav-toggle span {
  background-color: var(--dark-charcoal);
}

/* Hero Slider (Jacqueline Revolution style) */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  background-color: var(--dark-charcoal);
}

.slide-track {
  display: flex;
  height: 100%;
  width: 300%;
  transition: transform 1.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.slide-item {
  width: 33.333%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.slide-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.slide-container {
  width: 100%;
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.slide-content {
  max-width: 700px;
  color: var(--bg-light);
  transform: translateY(30px);
  opacity: 0;
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.slide-item.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.slide-subtitle {
  font-family: var(--font-script);
  font-size: 3.8rem;
  color: var(--primary);
  line-height: 0.8;
  margin-bottom: 0.5rem;
  text-transform: none;
  display: block;
}

.slide-title {
  font-family: var(--font-title);
  font-size: 4rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--bg-light);
}

.slide-title strong {
  font-weight: 600;
  color: var(--primary);
}

.slide-desc {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

/* Elegant Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  border-radius: 0; /* Boxy like Jacqueline */
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
}

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

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

.btn-outline {
  background-color: transparent;
  color: var(--bg-light);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background-color: var(--bg-light);
  color: var(--dark-charcoal);
  border-color: var(--bg-light);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--dark-charcoal);
  color: var(--bg-light);
}

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

.btn-bordered-line {
  background-color: transparent;
  color: var(--text-dark);
  border-color: var(--primary);
}

.btn-bordered-line:hover {
  background-color: var(--primary);
  color: var(--bg-light);
}

/* Slide arrows and dots */
.slider-dots-horizontal {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 10;
}

.slider-dots-horizontal .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition-normal);
}

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

/* Overlapping Three Cards Section */
.overlap-cards-wrapper {
  margin-top: -80px;
  position: relative;
  z-index: 20;
}

.three-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.highlight-card {
  background-color: var(--bg-light);
  box-shadow: var(--shadow-soft);
  border-bottom: 2px solid transparent;
  text-align: center;
  padding: 3rem 2.2rem;
  transition: var(--transition-normal);
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--primary);
}

.highlight-card-icon {
  margin: 0 auto 1.5rem auto;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  width: 70px;
  background-color: var(--bg-gray);
  border-radius: 50%;
  font-size: 2.2rem;
  transition: var(--transition-normal);
}

.highlight-card:hover .highlight-card-icon {
  background-color: var(--primary);
  color: var(--bg-light);
}

.highlight-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.highlight-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.highlight-card-link {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
}

.highlight-card-link:hover {
  color: var(--dark-charcoal);
}

/* Services 4-Column Panel Grid (01., 02., 03., 04.) */
.services-panel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
}

.service-panel-card {
  position: relative;
  padding: 4.5rem 2.5rem;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 280px;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition-normal);
}

.service-panel-card:last-child {
  border-right: none;
}

.service-panel-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
  opacity: 0;
  transform: scale(1.1);
  transition: var(--transition-normal);
}

.service-panel-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 30, 30, 0.88);
  z-index: -1;
  opacity: 0;
  transition: var(--transition-normal);
}

.service-panel-num {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-panel-info h4 {
  font-size: 1.25rem;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  transition: var(--transition-normal);
}

.service-panel-info p {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
  line-height: 1.5;
  transition: var(--transition-normal);
}

.service-panel-card:hover {
  transform: translateY(0);
}

.service-panel-card:hover .service-panel-card-bg {
  opacity: 1;
  transform: scale(1);
}

.service-panel-card:hover .service-panel-card-overlay {
  opacity: 1;
}

.service-panel-card:hover h4 {
  color: var(--bg-light);
}

.service-panel-card:hover p {
  color: rgba(255, 255, 255, 0.7);
}

/* Who We Are & What We Do Section (Overlap grid) */
.who-we-are-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.who-we-are-content h3 {
  font-family: var(--font-script);
  font-size: 3.5rem;
  color: var(--primary);
  line-height: 0.8;
  margin-bottom: 0.2rem;
  text-transform: none;
}

.who-we-are-content h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  font-weight: 400;
}

.who-we-are-content p {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.who-we-are-visual {
  position: relative;
}

.who-we-are-img {
  width: 100%;
  height: auto;
  box-shadow: var(--shadow-hover);
  border: 10px solid var(--bg-light);
}

.who-we-are-visual::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid var(--primary);
  z-index: -1;
  pointer-events: none;
}

/* ============================================
   COSMIATRA SPLIT SECTION
   ============================================ */
.cosmiatra-section {
  background-color: #fff;
}

.cosmiatra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

/* --- Image side --- */
.cosmiatra-visual {
  position: relative;
}

.cosmiatra-img-frame {
  position: relative;
  display: inline-block;
  width: 100%;
}

.cosmiatra-img-frame::before {
  content: '';
  position: absolute;
  top: -18px;
  left: -18px;
  right: 18px;
  bottom: 18px;
  border: 2px solid var(--primary-light, #e8b4a0);
  z-index: 0;
  pointer-events: none;
}

.cosmiatra-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: top center;
  position: relative;
  z-index: 1;
  display: block;
}

/* Floating badge */
.cosmiatra-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  z-index: 2;
  background: var(--primary);
  color: #fff;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.cosmiatra-badge-num {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
}

.cosmiatra-badge-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  line-height: 1.3;
  margin-top: 3px;
}

/* --- Content side --- */
.cosmiatra-content .sc_title_decoration {
  margin-bottom: 1.5rem;
}

.cosmiatra-bio {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.85;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* Certifications list */
.cosmiatra-certs {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cosmiatra-certs li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-family: var(--font-sans);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.85rem;
}

.cosmiatra-cert-icon {
  color: var(--primary);
  flex-shrink: 0;
  display: flex;
}

/* Stats row */
.cosmiatra-stats {
  display: flex;
  gap: 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
}

.cosmiatra-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cosmiatra-stat-num {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 500;
  color: var(--primary);
  line-height: 1;
}

.cosmiatra-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .cosmiatra-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .cosmiatra-img {
    height: 400px;
  }
  .cosmiatra-img-frame::before {
    display: none;
  }
}

/* Our Experts Staff Section */
.experts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.expert-card {
  text-align: center;
  background-color: var(--bg-light);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-normal);
}

.expert-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.expert-img-wrapper {
  overflow: hidden;
  position: relative;
}

.expert-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: var(--transition-normal);
}

.expert-card:hover .expert-img {
  transform: scale(1.03);
}

.expert-info {
  padding: 2rem 1.5rem;
}

.expert-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}

.expert-info span {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Testimonials Dark Overlay Parallax */
.testimonials-parallax {
  background-image: linear-gradient(rgba(30, 30, 30, 0.78), rgba(30, 30, 30, 0.78)), 
                    url('imagenes/home-fondo-clientes.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--bg-light);
  padding: 8rem 0;
  text-align: center;
}

.testimonials-parallax .sc_item_title {
  color: var(--bg-light);
}

.testimonials-slider {
  max-width: 780px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonial-slide {
  padding: 0 1rem;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
}

.testimonial-author-avatar {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  margin: 0 auto 1rem auto;
  border: 2px solid var(--primary);
  overflow: hidden;
}

.testimonial-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-name {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--bg-light);
  margin-bottom: 0.2rem;
}

.testimonial-author-role {
  font-size: 0.8rem;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Circular Skills Counters Block */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.skills-counter-card {
  padding: 1.5rem;
}

.skills-counter-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb, 200, 120, 100), 0.08);
  color: var(--primary);
  margin-bottom: 1.2rem;
  transition: transform 0.3s ease;
}

.skills-counter-card:hover .skills-counter-icon {
  transform: translateY(-4px);
}

.skills-counter-total {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--dark-charcoal);
  margin-bottom: 0.5rem;
}

.skills-counter-title {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
}

/* Pricing Grid (Bestsellers / Flexible Pricing Plan) */
.pricing-section-wrapper {
  background-image: linear-gradient(rgba(30, 30, 30, 0.82), rgba(30, 30, 30, 0.82)),
                    url('imagenes/home-lista-precios.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--bg-light);
  padding: 8rem 0;
}

.pricing-section-wrapper .sc_item_title {
  color: var(--bg-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
}

.pricing-column {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.pricing-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pricing-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.pricing-item-title {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--bg-light);
  white-space: nowrap;
}

.pricing-item-title a:hover {
  color: var(--primary);
}

.pricing-item-line {
  flex-grow: 1;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
  height: 1px;
  margin: 0 0.5rem;
}

.pricing-item-price {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.pricing-item-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  line-height: 1.5;
}

/* Products We Use Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.product-card {
  text-align: center;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  transition: var(--transition-normal);
}

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

.product-img-wrapper {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.product-img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.product-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.product-price {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

/* Form Styles for Reservation Form */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark-charcoal);
}

.form-control {
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  outline: none;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: var(--transition-normal);
  border-radius: 0;
}

.form-control:focus {
  border-color: var(--primary);
}

select.form-control {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23f9a392" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  padding-right: 2.5rem;
}

/* Contact Schedule Layout */
.contact-hours {
  background-color: var(--bg-gray);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
}

.contact-hours h4 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  color: var(--dark-charcoal);
}

.contact-hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 0.9rem;
  color: var(--text-dark);
}

.contact-hours-row:last-child {
  border-bottom: none;
}

/* Footer styling */
.footer {
  background-color: var(--dark-charcoal);
  color: rgba(255, 255, 255, 0.6);
  padding: 6.5rem 0 3.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer h5 {
  color: var(--bg-light);
  font-size: 0.95rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 5rem;
}

.footer-brand .logo-img {
  filter: brightness(0) invert(1);
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  font-weight: 400;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  list-style: none;
}

.footer-links-list a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  font-family: var(--font-title);
  color: rgba(255, 255, 255, 0.6);
}

.footer-links-list a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-link-item {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
}

.social-link-item:hover {
  color: var(--primary);
}

.social-link-icon {
  color: var(--primary);
  font-size: 1.1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 3rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* Floating WhatsApp Badge */
.whatsapp-wrapper {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 999;
}

.whatsapp-label {
  background-color: var(--bg-light);
  color: var(--dark-charcoal);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.6rem 1.2rem;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border-color);
  pointer-events: none;
  opacity: 0;
  transform: translateX(15px);
  transition: var(--transition-normal);
}

.whatsapp-wrapper:hover .whatsapp-label {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-float {
  width: 58px;
  height: 58px;
  background-color: #25d366;
  color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  transition: var(--transition-normal);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  background-color: #20ba5a;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .three-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .three-cards-grid > div:last-child { grid-column: span 2; }
  .services-panel-grid { grid-template-columns: repeat(2, 1fr); }
  .service-panel-card { border-bottom: 1px solid var(--border-color); }
  .service-panel-card:nth-child(even) { border-right: none; }
  .experts-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; gap: 3rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  
  .nav-toggle {
    display: block;
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-light);
    flex-direction: column;
    padding: 7rem 2rem 3rem 2rem;
    align-items: flex-start;
    box-shadow: -5px 0 25px rgba(0,0,0,0.08);
    transition: var(--transition-normal);
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu.active ~ .nav-toggle span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 5px);
    background-color: var(--dark-charcoal);
  }
  
  .nav-menu.active ~ .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-menu.active ~ .nav-toggle span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -5px);
    background-color: var(--dark-charcoal);
  }
  
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-item > a {
    color: var(--text-dark) !important;
  }
  
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    border: none;
    box-shadow: none;
    padding: 0.5rem 0 0 1rem;
    background-color: transparent;
    display: none;
  }
  
  .nav-item:hover .dropdown-menu {
    display: block;
  }
  
  .slide-title { font-size: 2.5rem; }
  .slide-subtitle { font-size: 2.8rem; }
  
  .three-cards-grid { grid-template-columns: 1fr; }
  .three-cards-grid > div:last-child { grid-column: span 1; }
  .services-panel-grid { grid-template-columns: 1fr; }
  .service-panel-card { border-right: none; }
  .who-we-are-grid { grid-template-columns: 1fr; gap: 3rem; }
  .experts-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .whatsapp-label { display: none; }
}

/* ==========================================================================
   INTERNAL PAGES LAYOUT & COMPONENTS
   ========================================================================== */

.page-header {
  position: relative;
  height: 480px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--bg-light);
  margin-bottom: 4rem;
  z-index: 1;
  box-sizing: border-box;
  padding-top: 80px; /* Compensa el header absoluto overlay */
}

.page-header-content {
  width: 100%;
}

.page-header-title {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--bg-light);
  margin-bottom: 1rem;
}

.page-breadcrumbs {
  font-family: var(--font-title);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
}

.page-breadcrumbs a {
  color: var(--primary);
}

.page-breadcrumbs span {
  color: var(--bg-light);
}

/* Dynamic Alternating Treatment Rows */
.treatment-list {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  margin-top: 4rem;
}

.treatment-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.treatment-row:nth-child(even) {
  grid-template-columns: 0.9fr 1.1fr;
}

.treatment-row:nth-child(even) .treatment-content {
  grid-column: 2;
}

.treatment-row:nth-child(even) .treatment-visual-wrapper {
  grid-column: 1;
  grid-row: 1;
}

.treatment-content h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  color: var(--dark-charcoal);
}

.treatment-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 2.2rem;
}

/* Numbered Steps List */
.treatment-steps-title {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.treatment-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.treatment-step {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.treatment-step-num {
  width: 32px;
  height: 32px;
  background-color: var(--bg-gray);
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.treatment-step-text strong {
  font-family: var(--font-title);
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--dark-charcoal);
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 0.2rem;
}

.treatment-step-text p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Shifting Frame Visual Wrapper */
.treatment-visual-wrapper {
  position: relative;
  width: 100%;
}

.treatment-visual {
  position: relative;
  width: 100%;
  height: 480px;
  border: 8px solid var(--bg-light);
  box-shadow: var(--shadow-hover);
  z-index: 2;
  overflow: hidden;
}

.treatment-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.treatment-row:hover .treatment-visual img {
  transform: scale(1.05);
}

.treatment-visual-wrapper::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 25px;
  right: -25px;
  bottom: -25px;
  border: 1px solid var(--primary);
  z-index: 1;
  transition: var(--transition-normal);
  pointer-events: none;
}

.treatment-row:hover .treatment-visual-wrapper::before {
  top: 15px;
  left: 15px;
  right: -15px;
  bottom: -15px;
}

/* Responsiveness for Detail pages */
@media (max-width: 1024px) {
  .treatment-row,
  .treatment-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .treatment-row:nth-child(even) .treatment-content {
    grid-column: 1;
  }
  .treatment-row:nth-child(even) .treatment-visual-wrapper {
    grid-column: 1;
    grid-row: auto;
  }
  .treatment-visual {
    height: 380px;
  }
}

/* Progress Bars */
.progress-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-top: 2.2rem;
}

.progress-item-bar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.progress-title-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark-charcoal);
}

.progress-bar-bg {
  background-color: var(--border-color);
  height: 4px;
  width: 100%;
}

.progress-bar-fill-actual {
  background-color: var(--primary);
  height: 100%;
}

/* Service Catalog Grid Styles (Replicating Jacqueline services-who-we-are) */
.sc_services_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.sc_services_item {
  position: relative;
  height: 380px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-normal);
}

.sc_services_item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 30, 30, 0.72);
  z-index: 1;
  transition: var(--transition-normal);
}

.sc_services_item_inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 2.5rem;
  color: var(--bg-light);
}

.sc_services_item_icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  transition: var(--transition-normal);
}

.sc_services_item:hover .sc_services_item_icon {
  background-color: var(--primary);
  color: var(--bg-light);
  transform: translateY(-3px);
}

.sc_services_item_title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--bg-light);
  margin-bottom: 1rem;
}

.sc_services_item_text {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 440px;
  margin-bottom: 2rem;
}

.sc_services_item_btn {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  position: relative;
  padding-bottom: 3px;
}

.sc_services_item_btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 1px;
  background-color: var(--primary);
  transition: var(--transition-normal);
}

.sc_services_item:hover .sc_services_item_btn::after {
  width: 100%;
}

.sc_services_item:hover::before {
  background-color: rgba(30, 30, 30, 0.82);
}

@media (max-width: 768px) {
  .sc_services_grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Page Grid Layout (Replicating Jacqueline contacts) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.contact-map-wrapper {
  box-shadow: var(--shadow-soft);
  border: 10px solid var(--bg-light);
  height: 500px;
}

.contact-form-wrapper {
  background-color: var(--bg-light);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-map-wrapper {
    height: 380px;
  }
  
  .contact-form-wrapper {
    padding: 2.5rem 2rem;
  }
}

/* Certifications Cards Layout in Nosotros.html */
.certifications-container-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.certification-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 3.5rem 2.2rem;
  text-align: center;
  position: relative;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.certification-card::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid rgba(249, 163, 146, 0.25); /* Salmon frame */
  pointer-events: none;
  transition: var(--transition-normal);
}

.certification-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.certification-card:hover::before {
  border-color: var(--primary);
}

.certification-card-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background-color: var(--bg-gray);
  border: 1px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.8rem;
  transition: var(--transition-normal);
}

.certification-card:hover .certification-card-icon {
  background-color: var(--primary);
  color: var(--bg-light);
}

.certification-card h4 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark-charcoal);
  margin-bottom: 1rem;
  transition: var(--transition-normal);
}

.certification-card p {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Call to Action Banner on About page */
.cta-banner-about {
  background-image: linear-gradient(rgba(30, 30, 30, 0.74), rgba(30, 30, 30, 0.74)), 
                    url('imagenes/CTA.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  color: var(--bg-light);
  padding: 8.5rem 0;
}

@media (max-width: 1024px) {
  .certifications-container-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Treatment Techniques Highlight Box */
.treatment-techniques {
  margin-top: 2.5rem;
  background-color: rgba(249, 163, 146, 0.08); /* Soft primary tint */
  border-left: 3px solid var(--primary);
  padding: 1.5rem 1.8rem;
  border-radius: 0;
}

.treatment-techniques h4 {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark-charcoal);
  margin-bottom: 0.6rem;
}

.treatment-techniques p {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 0;
}

/* Luxury Frame Card (used for Philosophy/Certificates) */
.luxury-frame {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 4rem 3rem;
  position: relative;
  box-shadow: var(--shadow-soft);
  max-width: 800px;
  margin: 5rem auto 0 auto;
  text-align: center;
}

.luxury-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid rgba(249, 163, 146, 0.25); /* Salmon frame */
  pointer-events: none;
}

.luxury-frame h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--dark-charcoal);
  margin-top: 1rem;
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.luxury-frame p {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.8;
  font-weight: 300;
  margin: 0;
}

/* Slider Navigation Arrows */
.slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  z-index: 35;
  pointer-events: none; /* Let clicks pass through except on arrows */
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto; /* Enable clicks back on the arrows */
  transition: var(--transition-normal);
}

.slider-arrow:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--bg-light);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow-left {
  left: 2.5rem;
}

.slider-arrow-right {
  right: 2.5rem;
}

@media (max-width: 768px) {
  .slider-arrow {
    width: 44px;
    height: 44px;
  }
  .slider-arrow-left {
    left: 1.2rem;
  }
  .slider-arrow-right {
    right: 1.2rem;
  }
}

/* ============================================
   MOSAIC SERVICES GRID  (Jacqueline-style)
   Layout: IMG | TEXT | IMG
            TEXT | IMG | TEXT
   ============================================ */

.mosaic-services-section {
  overflow: hidden;
  padding-bottom: 6rem;
}

.mosaic-services-section .sc_title_decoration {
  text-align: center;
}

/* 4-column, 2-row horizontal mosaic — contained by page margins */
.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 380px);
  border: 1px solid var(--border-color);
  border-bottom: none;
}

/* ---- Base cell ---- */
.mosaic-cell {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.4s ease;
}

/* ---- Image cells ---- */
.mosaic-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mosaic-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 10, 0.18);
  transition: background 0.5s ease;
}

/* Zoom on hover (self or pair-hover) */
.mosaic-img.mosaic-hovered {
  background-size: 110%;
}

.mosaic-img.mosaic-hovered .mosaic-img-overlay {
  background: rgba(20, 15, 10, 0.08);
}

/* Smooth zoom via pseudo approach — we animate scale on an inner wrapper */
.mosaic-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1);
  z-index: 0;
}

.mosaic-img.mosaic-hovered::before {
  transform: scale(1.07);
}

/* ---- Text cells ---- */
.mosaic-text {
  background-color: #fff;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.4s ease;
}

.mosaic-text.mosaic-hovered {
  background-color: #fdf7f5; /* Very subtle warm tint on hover */
}

.mosaic-text-inner {
  text-align: center;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Icon */
.mosaic-icon {
  color: var(--primary);
  display: block;
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease, color 0.3s ease;
}

.mosaic-text.mosaic-hovered .mosaic-icon {
  transform: translateY(-4px);
  color: var(--primary-dark);
}

/* Title */
.mosaic-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--dark-charcoal);
  margin: 0 0 1rem 0;
  transition: color 0.3s ease;
}

.mosaic-text.mosaic-hovered .mosaic-title {
  color: var(--primary-dark);
}

/* Description */
.mosaic-desc {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  margin: 0 0 1.5rem 0;
  max-width: 260px;
}

/* Arrow */
.mosaic-arrow {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
  display: inline-block;
}

.mosaic-text.mosaic-hovered .mosaic-arrow {
  transform: translateX(6px);
  color: var(--primary);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 340px);
  }
}

@media (max-width: 600px) {
  .mosaic-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(8, 280px);
  }
  .mosaic-text {
    border: none;
    border-bottom: 1px solid var(--border-color);
  }
}



