/* =============================================
   NATALIA GALUPPO · PREMIUM STYLESHEET v2
   ============================================= */

:root {
  --purple: #6b3fa0;
  --purple-light: #8a5bc4;
  --purple-pale: #e8dff5;
  --purple-deep: #4a2970;
  --gold: #b8923a;
  --gold-light: #d4aa5a;
  --bg: #faf9fb;
  --bg-warm: #f7f4f9;
  --white: #ffffff;
  --text: #1e1b28;
  --text-soft: #5e5670;
  --text-muted: #9d95aa;
  --border: #e4dced;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', system-ui, sans-serif;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
  --t: 0.4s;
  --max: 1100px;
  --r: 20px;
}

/* ─── RESET ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple-pale); border-radius: 99px; }

/* ─── SHARED ─────────────────────────────────── */
.label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.section-title em {
  font-style: italic;
  color: var(--purple);
  font-weight: 400;
}

/* ─── SCROLL REVEAL ──────────────────────────── */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal        { transform: translateY(32px); }
.reveal-left   { transform: translateX(-40px); }
.reveal-right  { transform: translateX(40px); }
.reveal-scale  { transform: scale(0.93); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  height: 68px;
  transition: background var(--t) var(--ease),
              backdrop-filter var(--t),
              box-shadow var(--t) var(--ease);
}

/* Hero state: transparent, white text */
.navbar--hero .navbar__logo,
.navbar--hero .navbar__link { color: rgba(255,255,255,0.92); }
.navbar--hero .navbar__link::after { background: rgba(255,255,255,0.7); }
.navbar--hero .navbar__hamburger span { background: white; }

/* Scrolled state: frosted white */
.navbar--solid {
  background: rgba(250, 249, 251, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 24px rgba(42, 37, 53, 0.07);
}
.navbar--solid .navbar__logo,
.navbar--solid .navbar__link { color: var(--text); }

.navbar__logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  transition: color var(--t);
}

.navbar__nav {
  display: flex;
  gap: 44px;
  align-items: center;
}

.navbar__link {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color var(--t);
  position: relative;
}
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  transition: width var(--t) var(--ease);
}
.navbar--solid .navbar__link::after { background: var(--gold); }
.navbar__link:hover::after { width: 100%; }
.navbar--solid .navbar__link--active { color: var(--text); font-weight: 500; }
.navbar--solid .navbar__link--active::after { width: 100%; }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar__hamburger span {
  display: block; width: 24px; height: 1.5px;
  transition: transform var(--t) var(--ease), opacity var(--t);
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(250, 249, 251, 0.97);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  padding: 28px 0;
  gap: 24px;
  z-index: 199;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s, transform 0.3s;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu a {
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color var(--t);
}
.mobile-menu a:hover { color: var(--purple); }

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Canvas Three.js (ocupa todo el hero) */
.hero__canvas-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__canvas-bg canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Tenue velo sobre el shader (permite leer texto) */
.hero__overlay--dark {
  position: absolute;
  inset: 0;
  background: rgba(0, 50, 55, 0.12);
  z-index: 1;
  pointer-events: none;
}

/* Degradado inferior: shader oscuro → blanco del sitio */
.hero__overlay--gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      transparent 0%,
      transparent 55%,
      rgba(20, 100, 100, 0.05) 75%,
      rgba(250, 249, 251, 0.92) 92%,
      rgba(250, 249, 251, 1) 100%
    );
  z-index: 2;
  pointer-events: none;
}

/* Contenido sobre los overlays */
.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
  will-change: opacity, transform;
  pointer-events: none; /* pasa eventos al canvas */
}

.hero__eyebrow {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
  animation: fadeUp 1s var(--ease) 0.1s both;
}

.hero__name {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.0;
  margin-bottom: 20px;
}
.hero__name--first {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 11vw, 8rem);
  font-weight: 300;
  color: rgba(255,255,255,0.97);
  letter-spacing: -0.02em;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  animation: fadeUp 1s var(--ease) 0.2s both;
}
.hero__name--last {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(4rem, 10vw, 7.2rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(223, 200, 255, 0.97);
  letter-spacing: 0.02em;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  animation: fadeUp 1s var(--ease) 0.3s both;
}

.hero__rule {
  width: 36px;
  height: 1.5px;
  background: var(--gold-light);
  margin: 18px auto 22px;
  animation: fadeUp 1s var(--ease) 0.4s both;
}

.hero__services {
  font-size: 0.88rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 44px;
  animation: fadeUp 1s var(--ease) 0.5s both;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: white;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.08);
  transition: background var(--t), border-color var(--t), transform var(--t);
  animation: fadeUp 1s var(--ease) 0.65s both;
  pointer-events: auto; /* el botón sí es clickeable */
  cursor: pointer;
}
.hero__cta:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}
.hero__cta svg {
  animation: bounce 2.5s ease-in-out 1.5s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Scroll bar lateral */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ─── ANIMACIONES BASE ───────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════
   SOBRE MÍ
═══════════════════════════════════════════════ */
.about {
  background: var(--white);
  padding: 110px 24px;
}
.about__container {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Columna foto */
.about__image-col { position: relative; }

.about__photo-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 24px 64px rgba(107, 63, 160, 0.18);
}
.about__photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.7s var(--ease);
}
.about__photo-frame:hover img { transform: scale(1.04); }

/* Badge decorativo */
.about__photo-badge {
  position: absolute;
  bottom: 24px;
  right: -18px;
  background: var(--white);
  border-radius: 99px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 32px rgba(42, 37, 53, 0.12);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
}
.about__photo-badge svg { color: var(--gold); flex-shrink: 0; }

/* Columna texto */
.about__text-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about__para {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.about__divider {
  width: 36px;
  height: 1.5px;
  background: var(--gold);
  margin: 12px 0 20px;
}

.about__quote {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 400;
  color: var(--purple);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   SERVICIOS
═══════════════════════════════════════════════ */
.services {
  background: var(--bg-warm);
  padding: 110px 24px;
}
.services__container {
  max-width: var(--max);
  margin: 0 auto;
}
.services__header {
  text-align: center;
  margin-bottom: 72px;
}
.services__intro {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-style: italic;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Tarjeta */
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 48px 32px 40px;
  text-align: center;
  overflow: hidden;
  transition: opacity 0.8s var(--ease-out), transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(107, 63, 160, 0.12);
  border-color: rgba(107, 63, 160, 0.15);
}

/* Glow en hover */
.service-card__glow {
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(107,63,160,0.12) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--t);
  pointer-events: none;
}
.service-card:hover .service-card__glow { opacity: 1; }

/* Línea superior animada */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }


.service-card__icon {
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  transition: transform var(--t) var(--ease);
}
.service-card:hover .service-card__icon { transform: scale(1.15) rotate(8deg); }

.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.25;
}

.service-card__desc {
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.82;
  color: var(--text-soft);
  margin-bottom: 28px;
}

.service-card__cta {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple);
  border: 1px solid rgba(107, 63, 160, 0.3);
  border-radius: 99px;
  padding: 8px 20px;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.service-card__cta:hover {
  background: var(--purple);
  color: white;
  border-color: var(--purple);
}

/* ═══════════════════════════════════════════════
   PANORAMA (foto olivos + frase)
═══════════════════════════════════════════════ */
.panorama {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.panorama__photo {
  position: absolute;
  inset: 0;
}
.panorama__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(0.7) brightness(0.75);
  transform: scale(1.15) translateY(0px);
  will-change: transform;
}

.panorama__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(74, 41, 112, 0.65) 0%,
    rgba(30, 10, 60, 0.55) 100%
  );
  z-index: 1;
}

.panorama__content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 680px;
}

.panorama__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.95);
  line-height: 1.4;
  margin-bottom: 36px;
  letter-spacing: 0.01em;
}

.panorama__cta {
  display: inline-block;
  padding: 13px 36px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: white;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.1);
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.panorama__cta:hover {
  background: rgba(255,255,255,0.22);
  border-color: white;
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════
   CONTACTO
═══════════════════════════════════════════════ */
.contact {
  background: var(--white);
  padding: 110px 24px;
}
.contact__container {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.1;
}

.contact__desc {
  font-size: 0.93rem;
  font-weight: 300;
  line-height: 1.88;
  color: var(--text-soft);
  margin-bottom: 36px;
  max-width: 380px;
}

.contact__social {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* Botones sociales */
.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--text-soft);
  transition: border-color var(--t), color var(--t), transform var(--t), box-shadow var(--t);
}
.btn-social:hover {
  border-color: var(--purple);
  color: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 63, 160, 0.1);
}

/* Botón WhatsApp */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--purple);
  color: white;
  border-radius: 99px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  margin-top: 8px;
}
.btn-whatsapp:hover {
  background: var(--purple-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(107, 63, 160, 0.3);
}

/* Foto de contacto */
.contact__photo {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 24px 64px rgba(42, 37, 53, 0.1);
}
.contact__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.7s var(--ease);
}
.contact__photo:hover img { transform: scale(1.04); }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer {
  background: var(--text);
  padding: 56px 24px;
  text-align: center;
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 4px;
}
.footer__tag {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.footer__links {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 14px;
}
.footer__links a {
  transition: color var(--t);
}
.footer__links a:hover { color: rgba(255,255,255,0.8); }
.footer__copy {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.2);
  margin-top: 6px;
}

/* ═══════════════════════════════════════════════
   SERVICES PAGE — APARTADOS
═══════════════════════════════════════════════ */
.services-page-header {
  padding: 140px 24px 80px;
  text-align: center;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.services-page-header .section-title {
  margin-bottom: 0;
}

.service-section {
  padding: 100px 24px;
  background: var(--white);
}
.service-section:nth-child(even) {
  background: var(--bg-warm);
}

.service-section__container {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
  position: relative;
}

.service-section__left {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.service-section__number {
  font-family: var(--font-serif);
  font-size: clamp(6rem, 16vw, 11rem);
  font-weight: 300;
  color: var(--purple-pale);
  line-height: 1;
  letter-spacing: -0.04em;
  user-select: none;
  margin-bottom: -12px;
}

.service-section__icon {
  color: var(--gold);
}

.service-section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.01em;
}
.service-section__title em {
  font-style: italic;
  color: var(--purple);
}

.service-section__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--purple);
  color: white;
  border-radius: 99px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  margin-top: 8px;
}
.service-section__cta:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(107, 63, 160, 0.28);
}

.service-section__right {
  padding-top: 8px;
}

.service-section__desc {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.95;
  color: var(--text-soft);
  margin-bottom: 20px;
}

.service-section__divider {
  width: 36px;
  height: 1.5px;
  background: var(--gold);
  margin: 28px 0;
}

.service-section__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-section__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-soft);
}
.service-section__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  min-width: 5px;
  background: var(--gold);
  border-radius: 50%;
}

@media (max-width: 960px) {
  .service-section__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-section__left {
    position: static;
  }
  .service-section__number {
    font-size: 5rem;
  }
}

/* ═══════════════════════════════════════════════
   CLIP-PATH REVEAL (títulos de sección)
═══════════════════════════════════════════════ */
.reveal-clip {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-clip.visible {
  clip-path: inset(0 0 0% 0);
}

/* ═══════════════════════════════════════════════
   MODAL
═══════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 8, 32, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: 28px;
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(28px) scale(0.96);
  transition: transform 0.4s var(--ease);
  scrollbar-width: thin;
  scrollbar-color: var(--purple-pale) transparent;
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-soft);
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
  z-index: 1;
}
.modal__close:hover {
  background: var(--purple);
  color: white;
  border-color: var(--purple);
}

.modal__body {
  padding: 52px 52px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.modal__icon {
  color: var(--gold);
  margin-bottom: 20px;
}

.modal__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.modal__desc {
  font-size: 0.93rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-soft);
  margin-bottom: 28px;
}

.modal__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  width: 100%;
}
.modal__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-soft);
}
.modal__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.modal__cta {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--purple);
  color: white;
  border-radius: 99px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.modal__cta:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(107, 63, 160, 0.28);
}

body.modal-open { overflow: hidden; }

@media (max-width: 600px) {
  .modal__body { padding: 48px 24px 36px; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 960px) {
  .navbar { padding: 0 28px; }
  .navbar__nav { display: none; }
  .navbar__hamburger { display: flex; }

  .about__container {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 560px;
    margin: 0 auto;
  }
  .about__photo-badge { right: 12px; }

  .services__grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .contact__container {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 520px;
    margin: 0 auto;
  }
  .contact__photo {
    aspect-ratio: 4/3;
  }
  .contact__photo img {
    object-position: center 65%;
  }

  .panorama { height: 420px; }
}

@media (max-width: 600px) {
  .hero__name--first { font-size: 3.8rem; }
  .hero__name--last  { font-size: 3.4rem; }
  .about { padding: 80px 20px; }
  .services { padding: 80px 20px; }
  .contact { padding: 80px 20px; }
  .panorama { height: 380px; }
  .panorama__quote { font-size: 1.6rem; }
}
