/* ═══════════════════════════════════════════════════════════════
   BASILIA AZCONA — LUXURY REAL ESTATE
   Cinematic Dark Theme · Light Pink Accents · Elegant Feminine
═══════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --black:        #080808;
  --dark:         #0e0e0e;
  --dark-2:       #141414;
  --dark-3:       #1a1a1a;
  --dark-4:       #222222;
  --dark-5:       #2a2a2a;
  --charcoal:     #333333;
  --mid:          #555555;
  --muted:        #888888;
  --light-muted:  #aaaaaa;
  --white:        #f8f4f0;
  --off-white:    #ede8e3;

  /* Signature pink palette */
  --pink:         #e8a4b8;
  --pink-light:   #f0c4d4;
  --pink-pale:    #f8e8ef;
  --pink-deep:    #c97a96;
  --pink-glow:    rgba(232, 164, 184, 0.15);
  --pink-border:  rgba(232, 164, 184, 0.3);

  /* Typography */
  --font-serif:   'Playfair Display', 'Georgia', serif;
  --font-elegant: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans:    'Montserrat', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --section-pad:  120px;
  --container:    1240px;

  /* Transitions */
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

/* ── UTILITY CLASSES ────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.section-padding {
  padding: var(--section-pad) 0;
}

.italic {
  font-style: italic;
}

.pink-text {
  color: var(--pink);
}

.hidden {
  display: none !important;
}

/* ── REVEAL ANIMATIONS ──────────────────────────────────────── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 16px 44px;
  background: transparent;
  border: 1px solid var(--pink);
  color: var(--pink);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
  cursor: pointer;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  z-index: 0;
}

.btn-primary:hover {
  color: var(--black);
}

.btn-primary:hover::before {
  transform: scaleX(1);
}

.btn-primary span,
.btn-primary {
  position: relative;
  z-index: 1;
}

.btn-ghost {
  display: inline-block;
  padding: 16px 44px;
  background: transparent;
  border: 1px solid rgba(248, 244, 240, 0.25);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: border-color 0.3s, color 0.3s;
}

.btn-ghost:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* ── SECTION LABELS & TITLES ────────────────────────────────── */
.section-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-label::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--pink);
  flex-shrink: 0;
}

.section-header.centered .section-label {
  justify-content: center;
}

.section-header.centered .section-label::before {
  display: none;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--white);
}

.section-subtitle {
  font-family: var(--font-elegant);
  font-size: 20px;
  font-weight: 300;
  color: var(--light-muted);
  max-width: 540px;
  line-height: 1.6;
}

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

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 28px 0;
  background: transparent;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), backdrop-filter 0.4s;
}

.navbar.scrolled {
  padding: 16px 0;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232, 164, 184, 0.1);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1;
}

.logo-tagline {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pink);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-muted);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--pink);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--white);
}

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

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--muted);
  padding: 6px 14px;
  border: 1px solid var(--charcoal);
  transition: border-color 0.3s, color 0.3s;
}

.lang-toggle:hover {
  border-color: var(--pink-border);
  color: var(--pink);
}

.lang-toggle .lang-en.active,
.lang-toggle .lang-es.active {
  color: var(--pink);
}

.lang-divider {
  color: var(--charcoal);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--white);
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--pink);
}

.mobile-close {
  position: absolute;
  top: 32px;
  right: 40px;
  font-size: 24px;
  color: var(--muted);
  transition: color 0.3s;
}

.mobile-close:hover {
  color: var(--pink);
}

.mobile-lang {
  margin-top: 20px;
  border-color: var(--charcoal);
  color: var(--muted);
  font-size: 12px;
  padding: 8px 20px;
}

/* ═══════════════════════════════════════════
   HERO SECTION — Full-bleed collage background
═══════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-parallax {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 8, 8, 0.45) 0%,
    rgba(8, 8, 8, 0.35) 30%,
    rgba(8, 8, 8, 0.75) 65%,
    rgba(8, 8, 8, 0.97) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px 120px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pink-light);
  margin-bottom: 24px;
}

.eyebrow-line {
  display: block;
  width: 50px;
  height: 1px;
  background: var(--pink);
  opacity: 0.6;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(64px, 10vw, 130px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-name {
  display: block;
}

.hero-name.italic {
  font-style: italic;
  color: var(--pink-light);
}

.hero-subtitle {
  font-family: var(--font-elegant);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  color: rgba(248, 244, 240, 0.75);
  max-width: 500px;
  margin-bottom: 44px;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 48px;
  right: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--pink), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

.scroll-text {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pink);
  writing-mode: vertical-rl;
}

.hero-stats {
  position: absolute;
  bottom: 48px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 0;
  z-index: 2;
  background: rgba(8, 8, 8, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(232, 164, 184, 0.15);
  padding: 20px 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 28px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--white);
  line-height: 1;
}

.stat-plus {
  color: var(--pink);
  font-size: 20px;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(232, 164, 184, 0.2);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   MARQUEE TICKER
═══════════════════════════════════════════ */
.marquee-section {
  background: var(--dark-3);
  border-top: 1px solid rgba(232, 164, 184, 0.15);
  border-bottom: 1px solid rgba(232, 164, 184, 0.15);
  padding: 18px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  flex-shrink: 0;
}

.marquee-content span {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--light-muted);
}

.marquee-dot {
  color: var(--pink) !important;
  font-size: 8px !important;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════ */
.about {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at right center, rgba(232, 164, 184, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

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

.about-images {
  position: relative;
  height: 680px;
}

.about-img-primary {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 80%;
  overflow: hidden;
}

.about-img-primary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s var(--ease);
}

.about-img-primary:hover img {
  transform: scale(1.03);
}

.img-accent-border {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 60%;
  height: 60%;
  border: 1px solid var(--pink-border);
  z-index: -1;
}

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 45%;
  overflow: hidden;
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s var(--ease);
}

.about-img-secondary:hover img {
  transform: scale(1.03);
}

.about-img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(8,8,8,0.9), transparent);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pink-light);
}

.about-text {
  padding-right: 20px;
}

.about-story p {
  font-family: var(--font-elegant);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--light-muted);
  margin-bottom: 20px;
}

.about-story p:last-child {
  margin-bottom: 0;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 36px 0;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--pink-border);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink-light);
  background: var(--pink-glow);
  transition: background 0.3s, border-color 0.3s;
}

.badge:hover {
  background: rgba(232, 164, 184, 0.2);
  border-color: var(--pink);
}

.badge-icon {
  color: var(--pink);
  font-size: 8px;
}

/* ═══════════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════════ */
.services {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.services-bg-texture {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(232, 164, 184, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(232, 164, 184, 0.02) 0%, transparent 40%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--dark-2);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease);
  border: 1px solid transparent;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width 0.5s var(--ease);
}

.service-card:hover {
  background: var(--dark-3);
  border-color: rgba(232, 164, 184, 0.08);
}

.service-card:hover::before {
  width: 100%;
}

.service-number {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 400;
  color: rgba(232, 164, 184, 0.08);
  line-height: 1;
  position: absolute;
  top: 24px;
  right: 32px;
  transition: color 0.4s;
}

.service-card:hover .service-number {
  color: rgba(232, 164, 184, 0.15);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--pink);
  margin-bottom: 28px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.service-desc {
  font-family: var(--font-elegant);
  font-size: 17px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  cursor: pointer;
  transition: gap 0.3s;
}

.service-link:hover {
  gap: 16px;
}

.service-arrow {
  transition: transform 0.3s;
}

.service-card:hover .service-arrow {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════
   CINEMATIC INTERLUDE
═══════════════════════════════════════════ */
.interlude {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.interlude-parallax {
  position: absolute;
  inset: -15%;
  z-index: 0;
  will-change: transform;
}

.interlude-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.3) contrast(1.1);
}

.interlude-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8, 8, 8, 0.7) 0%,
    rgba(8, 8, 8, 0.3) 50%,
    rgba(8, 8, 8, 0.7) 100%
  );
}

.interlude-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 40px;
  max-width: 900px;
}

.interlude-quote {
  position: relative;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 120px;
  line-height: 0.5;
  color: var(--pink);
  opacity: 0.3;
  display: block;
  margin-bottom: 20px;
}

.interlude-quote p {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 28px;
}

.interlude-quote cite {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pink);
  font-style: normal;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS SECTION
═══════════════════════════════════════════ */
.testimonials {
  background: var(--dark);
  overflow: hidden;
}

.testimonials-slider {
  position: relative;
}

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(5, calc(33.333% - 14px));
  gap: 20px;
  transition: transform 0.7s var(--ease-out);
}

.testimonial-card {
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 48px 40px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
  flex-shrink: 0;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 28px;
  font-family: var(--font-serif);
  font-size: 80px;
  color: var(--pink);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-card:hover {
  border-color: var(--pink-border);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--pink);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.testimonial-text {
  font-family: var(--font-elegant);
  font-size: 17px;
  font-weight: 300;
  color: var(--light-muted);
  line-height: 1.75;
  margin-bottom: 32px;
  font-style: italic;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pink-glow);
  border: 1px solid var(--pink-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--pink);
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.author-name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
}

.author-detail {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 60px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--charcoal);
  color: var(--muted);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.slider-btn:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: var(--pink-glow);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--charcoal);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.slider-dot.active {
  background: var(--pink);
  transform: scale(1.3);
}

/* ═══════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════ */
.contact {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at left center, rgba(232, 164, 184, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

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

.contact-intro {
  font-family: var(--font-elegant);
  font-size: 19px;
  font-weight: 300;
  color: var(--light-muted);
  line-height: 1.7;
  margin-bottom: 48px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--light-muted);
  transition: color 0.3s;
}

.contact-item:hover {
  color: var(--pink-light);
}

.contact-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--dark-5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.3s;
}

.contact-item:hover .contact-icon {
  border-color: var(--pink-border);
}

.contact-icon svg {
  width: 16px;
  height: 16px;
  color: var(--pink);
}

.contact-headshot {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(232, 164, 184, 0.12);
  background: var(--dark-2);
}

.contact-headshot img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 2px solid var(--pink-border);
}

.headshot-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.headshot-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
}

.headshot-title {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 56px 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark-3);
  border: 1px solid var(--dark-5);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option {
  background: var(--dark-3);
  color: var(--white);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--charcoal);
}

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

.form-success {
  padding: 16px;
  background: var(--pink-glow);
  border: 1px solid var(--pink-border);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--pink-light);
  text-align: center;
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(232, 164, 184, 0.1);
  padding: 60px 0 40px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-logo .logo-name {
  font-size: 24px;
}

.footer-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}

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

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

.footer-contact a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: var(--pink-light);
}

.footer-sep {
  color: var(--dark-5);
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  color: var(--charcoal);
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════
   CHATBOT
═══════════════════════════════════════════ */
.chatbot-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9000;
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(232, 164, 184, 0.4);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  position: relative;
}

.chatbot-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(232, 164, 184, 0.5);
}

.chatbot-toggle svg {
  width: 24px;
  height: 24px;
}

.chatbot-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--dark);
  border: 2px solid var(--pink);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: badgePulse 2s ease-in-out infinite;
}

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

.chatbot-window {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 360px;
  background: var(--dark-2);
  border: 1px solid rgba(232, 164, 184, 0.2);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  animation: chatSlideIn 0.4s var(--ease-out);
}

@keyframes chatSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chatbot-header {
  background: var(--dark-3);
  border-bottom: 1px solid rgba(232, 164, 184, 0.1);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--pink-border);
  flex-shrink: 0;
}

.chatbot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.chatbot-header-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chatbot-name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
}

.chatbot-status {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  color: var(--pink);
  letter-spacing: 0.05em;
}

.chatbot-lang-btn {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--muted);
  padding: 4px 10px;
  border: 1px solid var(--charcoal);
  transition: color 0.3s, border-color 0.3s;
}

.chatbot-lang-btn:hover {
  color: var(--pink);
  border-color: var(--pink-border);
}

.chatbot-messages {
  height: 280px;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--dark-5) transparent;
}

.chatbot-messages::-webkit-scrollbar {
  width: 4px;
}

.chatbot-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: var(--dark-5);
  border-radius: 2px;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 85%;
}

.chat-msg.bot {
  align-self: flex-start;
}

.chat-msg.user {
  align-self: flex-end;
}

.msg-text {
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
}

.chat-msg.bot .msg-text {
  background: var(--dark-3);
  color: var(--light-muted);
  border-left: 2px solid var(--pink);
}

.chat-msg.user .msg-text {
  background: var(--pink-glow);
  border: 1px solid var(--pink-border);
  color: var(--white);
  text-align: right;
}

.msg-time {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--charcoal);
  padding: 0 4px;
}

.chat-msg.user .msg-time {
  text-align: right;
}

.chatbot-suggestions {
  padding: 0 20px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.suggestion-btn {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--pink-light);
  padding: 6px 12px;
  border: 1px solid var(--pink-border);
  background: transparent;
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
  text-align: left;
}

.suggestion-btn:hover {
  background: var(--pink-glow);
  color: var(--white);
}

.chatbot-input-area {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 12px;
}

#chatbotInput {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--white);
}

#chatbotInput::placeholder {
  color: var(--charcoal);
}

#chatbotSend {
  width: 36px;
  height: 36px;
  background: var(--pink);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s, transform 0.2s;
}

#chatbotSend:hover {
  background: var(--pink-light);
  transform: scale(1.05);
}

#chatbotSend svg {
  width: 16px;
  height: 16px;
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  background: var(--dark-3);
  border-left: 2px solid var(--pink);
  width: fit-content;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  animation: typingBounce 1.2s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE DESIGN
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .about-grid {
    gap: 60px;
  }

  .contact-grid {
    gap: 60px;
  }

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

@media (max-width: 900px) {
  :root {
    --section-pad: 80px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-images {
    height: 500px;
  }

  .about-text {
    padding-right: 0;
  }

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

  .hero-content {
    padding: 0 40px 100px;
  }
  .hero-stats {
    display: flex;
  }
  .hero-scroll-hint {
    display: none;
  }
  .testimonials-track {
    grid-template-columns: repeat(5, calc(100% - 0px));
  }
  .hero-title {
    font-size: clamp(52px, 12vw, 80px);
  }
}

@media (max-width: 640px) {
  :root {
    --section-pad: 60px;
  }

  .container {
    padding: 0 24px;
  }

  .nav-inner {
    padding: 0 24px;
  }

  .hero-content {
    padding: 0 24px;
  }
  .hero-cta {
    flex-direction: column;
  }

  .btn-primary,
  .btn-ghost {
    text-align: center;
  }

  .about-images {
    height: 380px;
  }

  .about-img-primary {
    width: 80%;
    height: 75%;
  }

  .about-img-secondary {
    width: 50%;
    height: 40%;
  }

  .contact-form-wrapper {
    padding: 32px 24px;
  }

  .chatbot-window {
    width: calc(100vw - 48px);
    right: -8px;
  }

  .service-card {
    padding: 40px 28px;
  }

  .footer-links {
    gap: 24px;
  }

  .footer-contact {
    flex-direction: column;
    gap: 8px;
  }

  .footer-sep {
    display: none;
  }
}

/* ── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--dark-5);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--pink-deep);
}

/* ── SELECTION ──────────────────────────────────────────────── */
::selection {
  background: var(--pink);
  color: var(--black);
}

/* ── CURSOR GLOW (desktop only) ─────────────────────────────── */
@media (pointer: fine) {
  .cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 164, 184, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
  }
}

/* ═══════════════════════════════════════════
   CHATBOT INLINE APPOINTMENT FORM
═══════════════════════════════════════════ */

/* Ensure the chatbot is always fixed floating regardless of page context */
#chatbotContainer {
  position: fixed !important;
  bottom: 32px !important;
  right: 32px !important;
  z-index: 9999 !important;
}

.chat-form-msg {
  max-width: 100% !important;
  width: 100%;
}

.chat-appt-form {
  background: var(--dark-3);
  border-left: 2px solid var(--pink);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.chat-form-field {
  display: flex;
  flex-direction: column;
}

.chat-appt-form input,
.chat-appt-form textarea {
  background: var(--dark-4);
  border: 1px solid var(--dark-5);
  border-radius: 0;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  padding: 9px 12px;
  outline: none;
  transition: border-color 0.25s;
  width: 100%;
  resize: none;
}

.chat-appt-form input::placeholder,
.chat-appt-form textarea::placeholder {
  color: var(--mid);
}

.chat-appt-form input:focus,
.chat-appt-form textarea:focus {
  border-color: var(--pink-border);
}

.chat-form-submit {
  background: var(--pink);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  align-self: flex-start;
}

.chat-form-submit:hover {
  background: var(--pink-light);
  transform: translateY(-1px);
}

.chat-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.chat-form-note {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--mid);
  margin-top: -4px;
}

.chat-form-success {
  background: var(--dark-3);
  border-left: 2px solid var(--pink);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.chat-form-check {
  color: var(--pink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.chat-form-success p {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--light-muted);
  line-height: 1.5;
}
