/* ==========================================================================
   Claribella Depilaciones — estilos
   ========================================================================== */

:root {
  --color-bg: #fff9f7;
  --color-surface: #ffffff;
  --color-surface-alt: #fbeee7;
  --color-text: #3a2a2c;
  --color-text-muted: #7a6265;
  --color-primary: #c96f8e;
  --color-primary-dark: #a8577a;
  --color-primary-light: #f4d6df;
  --color-gold: #bd9450;
  --color-gold-light: #f1e3c8;
  --color-dark: #33212a;
  --color-dark-surface: #422c37;
  --color-border: #f0dde2;

  --font-display: "Fraunces", serif;
  --font-body: "Poppins", sans-serif;

  --shadow-sm: 0 2px 10px rgba(58, 42, 44, 0.08);
  --shadow-md: 0 10px 30px rgba(58, 42, 44, 0.12);
  --radius-md: 14px;
  --radius-lg: 22px;

  --transition: 200ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 600;
  color: var(--color-dark);
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--color-primary-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section--alt {
  background: var(--color-surface-alt);
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons
   ========================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.button.primary:hover {
  background: var(--color-primary-dark);
}

.button.secondary {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}

.button.secondary:hover {
  background: var(--color-dark);
  color: #fff;
}

.button.on-dark {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.button.on-dark:hover {
  background: #fff;
  color: var(--color-dark);
}

.button.full {
  width: 100%;
}

/* Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: #8e656d;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 52px;
  width: auto;
  border-radius: 10px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: #fff;
  transition: color var(--transition);
}

.main-nav a:hover {
  color: var(--color-gold-light);
}

.main-nav .nav-cta {
  padding: 10px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary-dark);
  font-weight: 600;
}

.main-nav .nav-cta:hover {
  background: var(--color-gold-light);
  color: var(--color-primary-dark);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 76px;
  overflow: hidden;
}

/* Imagen acotada al ancho del contenedor y desplazada a la derecha, con blur (estilo makikawano) */
.hero-bg {
  position: absolute;
  top: 70px;
  bottom: 0;
  left: 60%;
  z-index: 0;
  width: 100%;
  max-width: 1140px;
  transform: translateX(-50%);
  opacity: 0.5;
  filter: blur(3px);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 0%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(51, 33, 42, 0.92) 0%, rgba(51, 33, 42, 0.74) 42%, rgba(51, 33, 42, 0.24) 72%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 620px;
  color: #fff;
}

.hero-copy .eyebrow {
  color: var(--color-gold-light);
}

.hero-copy h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.hero-copy .lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

/* About
   ========================================================================== */

.media-copy-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.copy-block .feature-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.copy-block .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-text-muted);
}

.copy-block .feature-list li::before {
  content: "✦";
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Services
   ========================================================================== */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary-dark);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Benefits
   ========================================================================== */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
}

.benefit-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.benefit-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* Gallery
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.gallery-thumb {
  border: none;
  padding: 0;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--color-surface-alt);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.gallery-thumb:hover img {
  transform: scale(1.06);
}

.gallery-thumb--wide {
  grid-column: span 2;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 18, 22, 0.9);
}

.lightbox__figure {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 720px);
  max-height: 85vh;
  text-align: center;
}

.lightbox__figure img {
  max-height: 75vh;
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius-md);
}

.lightbox__figure figcaption {
  color: #fff;
  margin-top: 12px;
  font-size: 0.85rem;
  opacity: 0.85;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox__close {
  top: 24px;
  right: 24px;
}

.lightbox__nav--prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

/* CTA band
   ========================================================================== */

.cta-band {
  background: linear-gradient(120deg, var(--color-dark) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .eyebrow {
  color: var(--color-gold-light);
}

/* Contact / location
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-card .info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card .info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary-dark);
}

.info-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.info-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.94rem;
}

.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 220px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
  display: block;
}

.contact-form-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.3rem;
}

.contact-form-card > p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: border-color var(--transition);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a8577a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer
   ========================================================================== */

.site-footer {
  background: #8e656d;
  color: rgba(255, 255, 255, 0.9);
  padding: 56px 0 28px;
  padding-bottom: calc(28px + 78px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 46px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 280px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--color-surface);
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-credit {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
}

.footer-credit img {
  height: 17px;
  width: auto;
}

/* Floating WhatsApp
   ========================================================================== */

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.08);
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  color: #fff;
}

/* Responsive
   ========================================================================== */

@media (max-width: 960px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

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

  .media-frame {
    aspect-ratio: 16 / 10;
    max-width: 420px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: flex;
  }

  /* Debajo de este ancho el offset a la derecha dejaría la imagen fuera de pantalla: la centramos */
  .hero-bg {
    left: 50%;
    opacity: 0.4;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(51, 33, 42, 0.9) 0%, rgba(51, 33, 42, 0.7) 45%, rgba(51, 33, 42, 0.86) 100%);
  }

  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #8e656d;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }

  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .main-nav .nav-cta {
    margin-top: 14px;
    text-align: center;
  }

  .section {
    padding: 64px 0;
  }

  .service-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 170px;
  }

  .gallery-thumb--wide {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .cta-band .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form-card {
    padding: 26px 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}
