/* Carmit Cosmetics — mobile-first static site */

:root {
  --color-bg: #FAF6F0; /* Soft warm silk champagne background */
  --color-text: #1E1B18; /* Rich deep warm charcoal/espresso */
  --color-gold: #C5A880; /* Premium metallic champagne gold */
  --color-gold-light: #DFCBAF; /* Brighter silk champagne gold */
  --color-gold-bg: linear-gradient(135deg, #DFCBAF, #C5A880); /* Metallic gradient */
  --color-dark: #1A1816; /* Warm deep charcoal */
  --color-muted: #736E6A; /* Warm grey/taupe */
  --color-border: #EAE1D8; /* Soft warm border */
  --color-card-dark: #1A1816; /* Deep warm card background */
  --font-hebrew: 'Rubik', 'Heebo', 'Open Sans', Arial, sans-serif;
  --font-display: 'Rubik', 'Heebo', Arial, sans-serif;
  --max-width: 500px;
  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 10px 30px rgba(29, 27, 24, 0.05);
  --radius: 12px;
  
  /* Modern premium transition guidelines */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;

  /* Floating action buttons (WhatsApp, scroll-top, accessibility) */
  --fab-size: 50px;
  --fab-bottom: 20px;
  --fab-stack-gap: 12px;
  --fab-icon-size: 1.35rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Custom premium scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-light);
}

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

html.is-loading {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.site-loader__logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
  outline: 1px solid var(--color-gold-light);
  box-shadow: 0 10px 30px rgba(29, 27, 24, 0.12);
  animation: siteLoaderPulse 1.8s ease-in-out infinite;
}

.site-loader__ring {
  width: 34px;
  height: 34px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-gold);
  border-radius: 50%;
  animation: siteLoaderSpin 0.75s linear infinite;
}

@keyframes siteLoaderSpin {
  to { transform: rotate(360deg); }
}

@keyframes siteLoaderPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Scroll reveal animations styling */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

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

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  right: 1rem;
  background: var(--color-dark);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 9999;
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

/* App container — centered mobile column like Broadcust */
.app {
  max-width: var(--max-width);
  margin: 0 auto;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  min-height: 100vh;
  padding-bottom: 20px;
  position: relative;
  transition: var(--transition-smooth);
}

/* Hero */
.hero {
  position: relative;
  text-align: center;
}

.hero-cover {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.hero:hover .hero-cover img {
  transform: scale(1.03);
}

.hero-logo {
  position: relative;
  margin-top: -55px;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.hero-logo img {
  width: 95px;
  height: 95px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 8px 24px rgba(29, 27, 24, 0.15);
  border: 2px solid var(--color-gold);
  outline: 1px solid var(--color-gold-light);
  transition: var(--transition-smooth);
}

.hero-logo img:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 12px 30px rgba(29, 27, 24, 0.25);
}

.hero-text {
  padding: 16px 24px 22px;
  text-align: center;
}

.hero-text .hero-name {
  margin: 0 0 16px;
  font-family: var(--font-display);
  color: var(--color-text);
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero-name-main {
  display: block;
  font-size: clamp(1.65rem, 5.5vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--color-text);
}

.hero-name-sub {
  display: block;
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
  font-weight: 500;
  color: var(--color-muted);
  letter-spacing: 0.01em;
  line-height: 1.45;
  max-width: 22em;
}

.hero-tagline {
  position: relative;
  margin: 0 auto;
  padding-top: 14px;
  max-width: 20em;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  font-style: italic;
  color: var(--color-gold);
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.hero-tagline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold-light), transparent);
  border-radius: 1px;
}


/* Quick actions */
.actions {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 0 8px 12px;
  border-bottom: 1px solid var(--color-border);
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.72rem;
  color: var(--color-text);
  transition: var(--transition-smooth);
  border-radius: 8px;
}

.action-btn:hover,
.action-btn:focus-visible {
  background: #fdfaf6;
  outline: none;
}

.action-btn i {
  font-size: 1.4rem;
  transition: var(--transition-smooth);
}

.action-btn:hover i {
  transform: translateY(-3px) scale(1.15);
}

.action-btn.whatsapp i { color: #25d366; }
.action-btn.phone i { color: #4e8fc7; }
.action-btn.email i { color: #736e6a; }
.action-btn.facebook i { color: #3b5998; }
.action-btn.instagram i { color: #e1306c; }

.club-cta {
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
  background: #fff;
}

.club-open-btn {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius);
  background: var(--color-gold-bg);
  color: var(--color-dark);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(197, 168, 128, 0.2);
  transition: var(--transition-smooth);
}

.club-open-btn:hover,
.club-open-btn:focus-visible {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 168, 128, 0.35);
  outline: none;
}

.club-open-btn:active {
  transform: translateY(0);
}

.club-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.club-modal[hidden] {
  display: none !important;
}

.club-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.club-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 24, 22, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.club-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(460px, var(--max-width));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--radius);
  padding: 24px 20px 20px;
  box-shadow: 0 20px 48px rgba(29, 27, 24, 0.3);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.club-modal.is-open .club-modal-dialog {
  transform: translateY(0) scale(1);
}

.club-modal-close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fdfaf6;
  border: 1px solid var(--color-border);
  color: var(--color-dark);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.club-modal-close:hover {
  background: var(--color-gold-light);
  transform: rotate(90deg);
}

.club-title {
  margin: 0 0 20px;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-display);
  text-align: center;
  color: var(--color-text);
}

.club-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.club-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.club-field label,
.club-field legend {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}

.club-field legend {
  margin-bottom: 6px;
  padding: 0;
}

.club-birthday {
  border: none;
  margin: 0;
  padding: 0;
}

.club-field input[type='text'],
.club-field input[type='tel'],
.club-field input[type='email'],
.club-field input[type='number'] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fdfdfd;
  color: var(--color-text);
  transition: var(--transition-smooth);
}

.club-field input:focus {
  border-color: var(--color-gold);
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.18);
}

.club-field input.is-invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.18);
}

.club-birthday-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.club-birthday-inputs input {
  text-align: center;
}

.club-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-muted);
  cursor: pointer;
}

.club-consent input {
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: var(--color-gold);
}

.club-error {
  font-size: 0.8rem;
  color: #c0392b;
}

.club-submit {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: none;
  border-radius: 8px;
  background: var(--color-gold-bg);
  color: var(--color-dark);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(197, 168, 128, 0.2);
  transition: var(--transition-smooth);
}

.club-submit:hover {
  background: var(--color-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(197, 168, 128, 0.35);
}

.btn-secondary {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 12px 20px;
  background: #ffffff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: #fdfaf6;
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* Service cards */
.service-card {
  position: relative;
  margin: 20px 16px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.service-card .card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: var(--transition-smooth);
}

.service-card:hover .card-bg {
  transform: scale(1.06);
}

.service-card.about .card-bg {
  opacity: 0.25;
}

.service-card.about {
  background: var(--color-gold-bg);
}

.service-card.dark {
  background-color: #1a1816;
  background-image: linear-gradient(180deg, rgba(26, 24, 22, 0.8) 0%, rgba(17, 16, 15, 0.95) 100%);
}

.service-card.dark .card-bg {
  opacity: 0.4;
}

.service-card .card-content {
  position: relative;
  z-index: 1;
  padding: 24px 20px 28px;
  text-align: center;
}

.service-card.about .card-content {
  color: var(--color-text);
}

.service-card.dark .card-content {
  color: #fff;
}

.service-card .portrait {
  width: 60%;
  margin: 0 auto 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card .icon {
  width: 20%;
  min-width: 60px;
  margin: 0 auto 16px;
}

.service-card h2 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  font-family: var(--font-display);
  color: var(--color-gold-light);
}

.service-card.about h2 {
  color: var(--color-text);
  font-size: 1.45rem;
}

.service-card.about h3 {
  margin: 0 0 16px;
  font-size: 1.25rem;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.2);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
}

.service-card.about h3 {
  color: #fff;
}

.service-card p {
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.7;
}

.service-card ul {
  text-align: right;
  padding-right: 16px;
  display: inline-block;
}

.service-card ul li {
  position: relative;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
  padding-right: 20px;
}

.service-card ul li::before {
  content: '✦';
  position: absolute;
  right: 0;
  top: 0;
  color: var(--color-gold-light);
  font-size: 0.8rem;
}

.service-card ul strong,
.service-card p strong {
  text-decoration: none;
  color: var(--color-gold-light);
}

.service-card.about ul strong,
.service-card.about p strong {
  color: var(--color-text);
  text-decoration: underline;
}

/* Reviews */
.reviews {
  padding: 36px 24px;
  text-align: center;
  background: #ffffff;
  border-radius: var(--radius);
  margin: 20px 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

.reviews h2 {
  margin: 0 0 16px;
  font-size: 1.3rem;
  font-family: var(--font-display);
  color: var(--color-text);
}

.reviews blockquote {
  margin: 0 0 20px;
  padding: 0;
  border: none;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-muted);
  line-height: 1.5;
  position: relative;
}

.reviews blockquote::before {
  content: '“';
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(197, 168, 128, 0.25);
  position: absolute;
  top: -30px;
  right: 50%;
  transform: translateX(50%);
  line-height: 1;
  z-index: 0;
}

.reviews blockquote p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.reviews-link {
  display: inline-block;
  color: var(--color-gold);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition-smooth);
  border-bottom: 1.5px solid transparent;
}

.reviews-link:hover {
  color: var(--color-gold-light);
  border-bottom-color: var(--color-gold-light);
  text-decoration: none;
}

/* Appointment */
.appointment {
  padding: 36px 20px;
  text-align: center;
  background: #fdfaf6;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.appointment h2 {
  margin: 0 0 20px;
  font-size: 1.4rem;
  font-family: var(--font-display);
  color: var(--color-text);
}

.appointment-phone img {
  width: 70%;
  margin: 0 auto 20px;
  transition: var(--transition-smooth);
}

.appointment-phone:hover img {
  transform: scale(1.03);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
  transition: var(--transition-smooth);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.4);
  outline: none;
}

.btn-whatsapp:active {
  transform: translateY(0);
}

.btn-whatsapp i {
  font-size: 1.4rem;
}

/* Blog */
.blog {
  padding: 32px 16px;
  border-top: 1px solid var(--color-border);
}

.blog h2 {
  margin: 0 0 20px;
  font-size: 1.35rem;
  text-align: center;
  font-family: var(--font-display);
  color: var(--color-text);
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(29, 27, 24, 0.04);
  transition: var(--transition-smooth);
}

.blog-card:hover {
  box-shadow: 0 12px 30px rgba(29, 27, 24, 0.08);
  transform: translateY(-2px);
}

.blog-card-link {
  display: block;
  color: inherit;
}

.blog-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #eae1d8;
  overflow: hidden;
}

.blog-card-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, #eae1d8 0%, #faf6f0 50%, #eae1d8 100%);
  background-size: 200% 100%;
  animation: blog-shimmer 1.1s ease-in-out infinite;
}

.blog-card-media.is-loaded::before {
  display: none;
}

.blog-card-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.05);
}

.blog-card-media.is-loaded img {
  opacity: 1;
}

@keyframes blog-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.btn-secondary--link {
  display: block;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
}

.blog--all {
  padding-top: 8px;
}

.app--blog-all {
  padding-bottom: 20px;
}

.blog-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(26, 24, 22, 0.75);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-card-body {
  padding: 16px;
}

.blog-card-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-text);
  transition: var(--transition-fast);
}

.blog-card-link:hover .blog-card-title {
  color: var(--color-gold);
}

.blog-card-date {
  display: block;
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* Post detail */
.post-header {
  padding: 20px 16px 12px;
  border-bottom: 1px solid var(--color-border);
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 12px;
  transition: var(--transition-fast);
}

.post-back:hover {
  color: var(--color-gold-light);
  transform: translateX(3px);
  text-decoration: none;
}

.post-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-family: var(--font-display);
  line-height: 1.4;
  color: var(--color-text);
}

.post-date {
  margin: 0;
  font-size: 0.8rem;
  color: #888;
}

.post-main {
  padding: 12px 8px 24px;
}

.post-loading,
.post-error {
  text-align: center;
  padding: 24px 16px;
  color: #666;
}

.post-error {
  color: #c62828;
}

.post-body {
  overflow: visible;
}

.post-hero {
  margin: 0 0 24px;
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
}

.post-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.post-body .deal,
.post-body .deal.type,
.post-body .content,
.post-body .box {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  position: relative !important;
}

.post-body img.background {
  position: relative !important;
  left: auto !important;
  top: auto !important;
}

.post-details {
  padding: 8px 0 24px;
  font-family: var(--font-hebrew);
  line-height: 1.7;
  color: var(--color-text);
}

.post-details p {
  margin: 0 0 1em;
  text-align: center;
}

.post-details table {
  width: 100% !important;
  max-width: 100%;
  margin: 16px auto;
  border-collapse: collapse;
  background-size: cover !important;
  background-position: center !important;
}

.post-details table td {
  padding: 12px;
  vertical-align: top;
}

.post-details img,
.post-details video {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.post-body img,
.post-body video {
  max-width: 100%;
  height: auto;
}

.post-body table {
  width: 100% !important;
  max-width: 100%;
}

.post-video-wrap video {
  width: 100%;
  border-radius: var(--radius);
  background: #000;
}

/* Gallery */
.gallery {
  padding: 32px 16px;
  border-top: 1px solid var(--color-border);
}

.gallery h2,
.gallery-subtitle {
  margin: 0 0 20px;
  font-size: 1.35rem;
  font-family: var(--font-display);
  text-align: center;
  color: var(--color-text);
}

.gallery-subtitle {
  margin-top: 32px;
}

.gallery-carousel {
  margin-bottom: 12px;
  overflow: hidden;
}

.gallery-carousel__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 16px;
  scrollbar-width: none;
}

.gallery-carousel__track::-webkit-scrollbar {
  display: none;
}

.gallery-carousel__item {
  flex: 0 0 min(72vw, 280px);
  scroll-snap-align: start;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(29, 27, 24, 0.05);
  transition: var(--transition-smooth);
}

.gallery-carousel__item img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.gallery-carousel__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 27, 24, 0.12);
}

.gallery-carousel__item:hover img,
.gallery-carousel__item:focus-visible img {
  transform: scale(1.05);
}

.gallery-carousel__item:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.gallery-carousel__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 24, 22, 0.35);
  color: #fff;
  font-size: 2rem;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.gallery-carousel__item:hover .gallery-carousel__play {
  background: rgba(26, 24, 22, 0.45);
}

/* Media lightbox */
body.media-lightbox-open {
  overflow: hidden;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 16, 15, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 48px 56px 56px;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  isolation: isolate;
}

.media-lightbox[hidden] {
  display: none !important;
}

@keyframes lightboxFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.media-lightbox:not([hidden]) {
  animation: lightboxFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.media-lightbox__stage {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: min(calc(100% - 96px), 960px);
  max-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

@keyframes stageScaleUp {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.media-lightbox:not([hidden]) .media-lightbox__stage {
  animation: stageScaleUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.05s;
}

.media-lightbox__image,
.media-lightbox__video {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  pointer-events: auto;
}

.media-lightbox__video {
  width: auto;
  height: auto;
  background: #000;
}

.media-lightbox__close,
.media-lightbox__prev,
.media-lightbox__next {
  position: absolute;
  z-index: 10;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.media-lightbox__close:hover,
.media-lightbox__prev:hover,
.media-lightbox__next:hover,
.media-lightbox__close:focus-visible,
.media-lightbox__prev:focus-visible,
.media-lightbox__next:focus-visible {
  background: rgba(255, 255, 255, 0.25);
  color: var(--color-gold-light);
}

.media-lightbox__close {
  top: 16px;
  left: 16px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 1;
}

.media-lightbox__prev,
.media-lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.media-lightbox__prev {
  right: 12px;
}

.media-lightbox__next {
  left: 12px;
}

.media-lightbox__counter {
  position: absolute;
  z-index: 10;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 600;
  pointer-events: none;
}

@media (max-width: 600px) {
  .media-lightbox {
    padding: 56px 12px 64px;
  }

  .media-lightbox__stage {
    max-width: calc(100% - 72px);
  }

  .media-lightbox__prev,
  .media-lightbox__next {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.72);
  }

  .media-lightbox__prev {
    right: 8px;
  }

  .media-lightbox__next {
    left: 8px;
  }
}

/* Contact */
.contact {
  padding: 24px 20px;
  background: #1f2532;
  color: #fff;
  text-align: center;
}

.contact h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-gold-light);
  position: relative;
  padding-bottom: 14px;
}

.contact-tagline {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gold-light);
  line-height: 1.4;
}

.contact-card h3 {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.contact-card p {
  margin: 8px 0;
  font-size: 1rem;
}

.contact-card a {
  color: var(--color-gold-light);
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-card i {
  margin-left: 8px;
  width: 20px;
}

.contact-nav {
  margin-top: 16px !important;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.btn-google-maps,
.btn-waze {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
  flex: 1 1 120px;
  justify-content: center;
  white-space: nowrap;
}

.btn-google-maps {
  background: #fff;
  color: #1f2532 !important;
  border: 1px solid #dadce0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.btn-google-maps:hover {
  background: #f8f9fa;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-google-maps .fa-google {
  background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #fbbc05 75%, #ea4335 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.1rem;
}

.btn-waze {
  background: #33ccff;
  color: #1f2532 !important;
}

.btn-waze:hover {
  background: #5cd6ff;
  transform: translateY(-1px);
}

.btn-google-maps i,
.btn-waze i {
  margin: 0;
  width: auto;
}

/* Footer */
.site-footer {
  padding: 20px 76px 28px;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  background: #fff;
  border-top: 1px solid var(--color-border);
}

.site-footer a {
  color: #4e8fc7;
}

.site-footer a:hover {
  text-decoration: underline;
}

.copyright {
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.35;
}

.footer-credit {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-credit-text {
  margin: 0;
  font-size: 0.82rem;
  color: #888;
}

.footer-credit-text a {
  color: #4e9fd4;
  font-weight: 600;
  text-decoration: none;
}

.footer-credit-text a:hover {
  text-decoration: underline;
}

.footer-credit-logo {
  display: block;
  line-height: 0;
  opacity: 0.92;
  transition: opacity 0.2s, transform 0.2s;
}

.footer-credit-logo:hover {
  opacity: 1;
  transform: scale(1.04);
}

.footer-credit-logo img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.legal-main {
  padding: 8px 20px 24px;
}

.legal-main h2 {
  font-size: 1.1rem;
  margin: 24px 0 12px;
  color: var(--color-text);
}

.legal-main p,
.legal-main li {
  line-height: 1.7;
  margin-bottom: 12px;
  color: var(--color-text);
}

.legal-main ul {
  padding-right: 20px;
  list-style: disc;
}

.legal-back-bottom {
  display: inline-block;
  margin-top: 24px;
  color: #4e8fc7;
  font-weight: 600;
}

/* Floating WhatsApp */
/* Floating WhatsApp */
@keyframes fabPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.fab-whatsapp {
  position: fixed;
  bottom: var(--fab-bottom);
  left: max(20px, calc(50% - var(--max-width) / 2 + 20px));
  width: var(--fab-size);
  height: var(--fab-size);
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fab-icon-size);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
  z-index: 99;
  transition: var(--transition-smooth);
  animation: fabPulse 2s infinite;
}

.fab-whatsapp:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  background: #20ba5a;
}

.fab-scroll-top {
  position: fixed;
  bottom: var(--fab-bottom);
  right: max(20px, calc(50% - var(--max-width) / 2 + 20px));
  width: var(--fab-size);
  height: var(--fab-size);
  padding: 0;
  border: none;
  background: var(--color-dark);
  color: var(--color-gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fab-icon-size);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  z-index: 99;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.85);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.3s, color 0.3s;
  pointer-events: none;
}

.fab-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}

.fab-scroll-top:hover {
  background: var(--color-gold);
  color: var(--color-dark);
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 168, 128, 0.3);
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #dfcbaf 0%, #c5a880 50%, #9e7f56 100%);
  z-index: 10000;
  width: 0%;
  transition: width 0.1s ease;
}

/* Solid Typography for Headings */
.hero-text .hero-name {
  color: var(--color-text);
  background: none;
  -webkit-text-fill-color: initial;
}

.service-card h2,
.reviews h2,
.appointment h2,
.blog h2,
.gallery h2,
.gallery-subtitle,
.post-title {
  color: var(--color-text);
  font-family: var(--font-display);
  margin: 0 0 16px;
  position: relative;
  padding-bottom: 14px;
  background: none;
  -webkit-text-fill-color: initial;
}

.service-card.dark h2 {
  color: var(--color-gold-light);
}

/* Minimalist Gold Underlines */
.service-card h2::after,
.reviews h2::after,
.appointment h2::after,
.blog h2::after,
.gallery h2::after,
.gallery-subtitle::after,
.contact h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1.5px;
  background: var(--color-gold);
}

/* Luxury Glass Cards & Shadow Refinements */
.service-card {
  border: 1px solid rgba(197, 168, 128, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.service-card.about {
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 30px rgba(197, 168, 128, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.blog-card {
  border: 1px solid rgba(197, 168, 128, 0.2);
  box-shadow: 0 4px 16px rgba(29, 27, 24, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.reviews {
  border: 1px solid rgba(197, 168, 128, 0.25);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* Desktop Backdrop & Ambient Bokeh Glows */
.ambient-glows {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  display: none;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  -webkit-filter: blur(120px);
  opacity: 0.38;
  will-change: transform;
}

.glow-1 {
  top: -15%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  background: #ebdcd0;
  animation: driftGlow1 25s infinite alternate ease-in-out;
}

.glow-2 {
  bottom: -15%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: #dfcbaf;
  animation: driftGlow2 30s infinite alternate ease-in-out;
}

.glow-3 {
  top: 35%;
  left: 45%;
  width: 40vw;
  height: 40vw;
  background: #ebd6c0;
  animation: driftGlow3 22s infinite alternate ease-in-out;
}

@keyframes driftGlow1 {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(60px, 90px) scale(1.1) rotate(180deg); }
  100% { transform: translate(-30px, -40px) scale(0.9) rotate(360deg); }
}

@keyframes driftGlow2 {
  0% { transform: translate(0, 0) scale(1.1) rotate(0deg); }
  50% { transform: translate(-80px, -70px) scale(0.95) rotate(-180deg); }
  100% { transform: translate(50px, 40px) scale(1.05) rotate(-360deg); }
}

@keyframes driftGlow3 {
  0% { transform: translate(0, 0) scale(0.9) rotate(0deg); }
  50% { transform: translate(90px, -40px) scale(1.05) rotate(90deg); }
  100% { transform: translate(-60px, 60px) scale(1) rotate(180deg); }
}

/* Desktop — still centered column, slightly wider feel */
@media (min-width: 601px) {
  body {
    background: radial-gradient(circle at top, #ebdcd0 0%, #d8cfc4 100%);
  }

  .ambient-glows {
    display: block;
  }

  .app {
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(29, 27, 24, 0.15);
    overflow: hidden;
  }

  .hero-cover {
    height: 280px;
  }
}
