/* =====================================================================
   miinvitacion.vip — Landing Page
   Paleta: Negro mármol · Rubí · Dorado mate
   Tipografías: Cinzel (serif lujo) + Montserrat (sans modern)
   ===================================================================== */

:root {
  /* Fondo: tono vino profundo (burgundy) sustituye al negro */
  --bg: #1a0608;
  --bg-2: #220a0d;
  --bg-3: #2c0d11;
  /* Tipografía dorada cálida */
  --ink: #f0d9a0;
  --ink-soft: #d4b876;
  --ink-mute: #a08856;
  --ruby: #c9192b;
  --ruby-deep: #7a0a16;
  /* Dorado intensificado */
  --gold: #e6c477;
  --gold-soft: #d4af5a;
  --gold-warm: #ffd97a;
  --line: rgba(230, 196, 119, 0.22);
  --line-strong: rgba(230, 196, 119, 0.45);

  --serif: "Cinzel", "Playfair Display", Georgia, serif;
  --sans: "Montserrat", "Lato", system-ui, -apple-system, Segoe UI, sans-serif;

  --radius: 4px;
  --container: 1200px;
  --shadow-soft: 0 30px 80px rgba(0, 0, 0, 0.55);
}

/* ----- Reset minimal ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}
::selection {
  background: var(--gold);
  color: #000;
}

/* Marble texture (radial + grain) — tonos vino con luces doradas */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(120, 30, 40, 0.45), transparent 60%),
    radial-gradient(900px 500px at 110% 20%, rgba(80, 15, 25, 0.55), transparent 60%),
    radial-gradient(800px 400px at 50% 110%, rgba(180, 130, 70, 0.10), transparent 60%);
  z-index: -2;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ----- Container ----- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* ----- Reveal animation (Intersection Observer) ----- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ----- Typography helpers ----- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
  font-weight: 500;
}
.accent {
  color: var(--gold);
}

/* =========== NAV =========== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(10, 10, 11, 0.85), rgba(10, 10, 11, 0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 11, 0.92);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1rem;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.nav__brand-text {
  font-weight: 500;
}
.nav__links {
  display: flex;
  gap: 2.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nav__links a {
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.3s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}
.nav__links a:hover {
  color: var(--gold);
}
.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__cta {
  font-size: 0.7rem;
  padding: 0.6rem 1.2rem;
}
.nav__burger {
  display: none;
  width: 36px;
  height: 36px;
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 6px;
  right: 6px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.35s ease, opacity 0.35s ease, top 0.35s ease;
}
.nav__burger span:nth-child(1) { top: 12px; }
.nav__burger span:nth-child(2) { top: 18px; }
.nav__burger span:nth-child(3) { top: 24px; }
.nav__burger.is-open span:nth-child(1) { top: 18px; transform: rotate(45deg); background: var(--gold); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { top: 18px; transform: rotate(-45deg); background: var(--gold); }

.nav__mobile {
  display: none;
  flex-direction: column;
  background: rgba(10, 10, 11, 0.97);
  border-top: 1px solid var(--line);
  padding: 1.25rem 1.5rem 1.5rem;
  gap: 1.1rem;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nav__mobile.is-open {
  display: flex;
}

/* =========== BUTTONS =========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 999px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.4s ease, color 0.3s ease, background 0.4s ease, border-color 0.3s ease;
  isolation: isolate;
  overflow: hidden;
}
.btn--gold {
  color: #2a0d10;
  background: linear-gradient(135deg, #ffe39a 0%, #e6c477 45%, #b8923f 100%);
  box-shadow: 0 0 0 1px rgba(230, 196, 119, 0.55), 0 14px 32px rgba(230, 196, 119, 0.18), inset 0 1px 0 rgba(255, 240, 200, 0.6);
}
.btn--gold::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(140px 80px at var(--mx, 50%) var(--my, 50%), rgba(255, 240, 200, 0.55), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--gold-warm), 0 20px 44px rgba(230, 196, 119, 0.40), 0 0 36px rgba(255, 217, 122, 0.55);
}
.btn--gold:hover::before {
  opacity: 1;
}
.btn--ghost {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: transparent;
}
.btn--ghost:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(214, 179, 112, 0.12);
}

/* =========== HERO =========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 4rem;
  text-align: center;
  overflow: hidden;
}
.hero__marble {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(150, 80, 60, 0.40), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(120, 25, 35, 0.45), transparent 50%),
    linear-gradient(180deg, #220a0d 0%, #100406 100%);
  z-index: -1;
}
.hero__marble::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'><g fill='none' stroke='%23d6b370' stroke-opacity='0.06' stroke-width='0.6'><path d='M0 220 Q 150 200 300 230 T 600 240'/><path d='M0 360 Q 200 380 400 350 T 600 380'/><path d='M0 480 Q 180 520 360 470 T 600 500'/></g></svg>");
  background-size: cover;
  opacity: 0.7;
}
.hero__grain {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(15, 3, 5, 0.85) 100%);
  pointer-events: none;
  z-index: -1;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Seal entrance: stamp-like (scale + fade + slight rotation) */
.seal-wrap {
  position: relative;
  margin-bottom: 1.75rem;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.55));
  opacity: 0;
  transform: scale(1.6) rotate(-6deg);
  animation: stamp 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
  width: 320px;
  max-width: 80vw;
  aspect-ratio: 1 / 1;
}
.seal-wrap .seal {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.nav__brand-mark img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.footer__brand img {
  object-fit: contain;
}
.seal-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 70%;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.65), transparent 70%);
  filter: blur(4px);
  opacity: 0;
  animation: stampShadow 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}
@keyframes stamp {
  0% { opacity: 0; transform: scale(1.8) rotate(-8deg); }
  60% { opacity: 1; transform: scale(0.96) rotate(2deg); }
  80% { transform: scale(1.04) rotate(-1deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes stampShadow {
  0% { opacity: 0; }
  100% { opacity: 0.85; }
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin: 0.2rem 0 1.1rem;
  line-height: 1;
}
.hero__tagline {
  font-family: var(--sans);
  font-size: clamp(0.78rem, 1vw + 0.4rem, 1rem);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 2.5rem;
  max-width: 38ch;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}
.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-mute);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}
.hero__scroll span {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll span::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--gold-warm);
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* =========== SECTIONS =========== */
.section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
}
.section--alt {
  background:
    radial-gradient(1000px 500px at 50% 0%, rgba(140, 40, 50, 0.18), transparent 70%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border-block: 1px solid var(--line);
}
.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4.5rem;
}
.section__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
  line-height: 1.15;
}
.section__lead {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  font-family: var(--sans);
}
/* Cuerpo de texto en tono dorado suave */
.service-card p,
.process p,
.gallery__item figcaption,
.hero__tagline,
.contact__chip,
.form__field span,
.footer__nav,
.footer__social,
.footer__copy,
.nav__links,
.nav__mobile {
  color: var(--ink-soft);
}

/* =========== SERVICES =========== */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.service-card {
  position: relative;
  padding: 2.5rem 1.75rem 3rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  transition: transform 0.5s ease, border-color 0.4s ease, background 0.4s ease;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 50% -20%, rgba(214, 179, 112, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}
.service-card:hover::before {
  opacity: 1;
}
.service-card__icon {
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 0.9rem;
  letter-spacing: 0.04em;
}
.service-card p {
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0;
  font-size: 0.95rem;
}
.service-card__line {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 1.5rem;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-soft), transparent);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card__line {
  transform: scaleX(1);
}

/* =========== GALLERY =========== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.gallery__item {
  margin: 0;
  text-align: center;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.gallery__item figure {
  margin: 0;
}
.gallery__frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-3);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.4s ease, box-shadow 0.5s ease;
}
.gallery__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.55));
  opacity: 0.65;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(20, 5, 8, 0.65) 0%, rgba(35, 10, 15, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}
.gallery__cta {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: #2a0d10;
  background: linear-gradient(135deg, #ffe39a 0%, #e6c477 45%, #b8923f 100%);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(230, 196, 119, 0.6), 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(230, 196, 119, 0.4);
  transform: translateY(8px);
  transition: transform 0.45s ease;
}
.gallery__frame--ruby { box-shadow: inset 0 0 0 1px rgba(201, 25, 43, 0.2); }
.gallery__frame--gold { box-shadow: inset 0 0 0 1px rgba(214, 179, 112, 0.25); }
.gallery__frame--noir { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); }

.gallery__item:hover .gallery__frame,
.gallery__item:focus-visible .gallery__frame {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--gold-soft);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--gold-soft);
}
.gallery__item:hover .gallery__frame::after,
.gallery__item:focus-visible .gallery__frame::after {
  opacity: 0.2;
}
.gallery__item:hover .gallery__overlay,
.gallery__item:focus-visible .gallery__overlay {
  opacity: 1;
}
.gallery__item:hover .gallery__cta,
.gallery__item:focus-visible .gallery__cta {
  transform: translateY(0);
}
.gallery__item figcaption {
  margin-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: color 0.3s ease;
}
.gallery__item:hover figcaption {
  color: var(--gold);
}
/* En móvil/tablet (sin hover real) mostramos el CTA atenuado siempre */
@media (hover: none) {
  .gallery__overlay {
    opacity: 1;
    background: linear-gradient(180deg, transparent 50%, rgba(20, 5, 8, 0.75) 100%);
    align-items: flex-end;
    padding-bottom: 1.25rem;
  }
  .gallery__cta {
    transform: translateY(0);
    font-size: 0.65rem;
    padding: 0.6rem 1.2rem;
  }
}

/* =========== FEATURES =========== */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.feature {
  position: relative;
  padding: 2rem 1.5rem 2.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(230, 196, 119, 0.03), rgba(0,0,0,0));
  transition: transform 0.5s ease, border-color 0.4s ease, background 0.4s ease, box-shadow 0.5s ease;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.6s ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.feature:hover::before { transform: scaleX(1); }
.feature__icon {
  color: var(--gold);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: radial-gradient(circle at 30% 30%, rgba(230, 196, 119, 0.10), transparent 70%);
}
.feature h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin: 0 0 0.6rem;
  color: var(--gold);
}
.feature p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

/* =========== PROCESS =========== */
.process {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line-strong), transparent);
  z-index: 0;
}
.process li {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold);
  background: var(--bg);
  margin-bottom: 1.5rem;
}
.process h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0 0 0.6rem;
  letter-spacing: 0.05em;
}
.process p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* =========== CONTACT FORM =========== */
.contact {
  max-width: 880px;
}
.form {
  display: grid;
  gap: 1.25rem;
  margin-top: 1rem;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form__field span {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.form__field input,
.form__field select,
.form__field textarea {
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem 1.1rem;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  resize: vertical;
}
.form__field textarea {
  min-height: 130px;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(214, 179, 112, 0.04);
  box-shadow: 0 0 0 4px rgba(214, 179, 112, 0.08);
}
.form__field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) center, calc(100% - 12px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.form__field select option {
  background: var(--bg);
  color: var(--ink);
}
.form__submit {
  justify-self: start;
  margin-top: 0.5rem;
  min-width: 240px;
}
.form__submit.is-loading span::after {
  content: "…";
  animation: dots 1s linear infinite;
}
.form__status {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  min-height: 1.3em;
}
.form__status.is-success { color: var(--gold-warm); }
.form__status.is-error   { color: var(--ruby); }
@keyframes dots { 0%,20%{content:"…"} 40%{content:"…."} 60%{content:"….."} 80%,100%{content:"……"} }

.contact__direct {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}
.contact__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.contact__chip:hover {
  color: var(--gold);
  border-color: var(--gold-soft);
  background: rgba(214, 179, 112, 0.04);
  transform: translateY(-2px);
}

/* =========== FOOTER =========== */
.footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2.5rem;
  background: linear-gradient(180deg, #15050780 0%, #0c0305 100%);
}
.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--serif);
  letter-spacing: 0.12em;
}
.footer__nav {
  display: flex;
  gap: 2rem;
  justify-content: center;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.footer__nav a:hover { color: var(--gold); }
.footer__social {
  display: flex;
  gap: 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.footer__social a:hover { color: var(--gold); }
.footer__copy {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

/* =========== RESPONSIVE =========== */
@media (max-width: 960px) {
  .services,
  .gallery,
  .process,
  .features { grid-template-columns: repeat(2, 1fr); }
  .process::before { display: none; }
}

@media (max-width: 720px) {
  .nav__links,
  .nav__cta { display: none; }
  .nav__burger { display: block; }

  .services,
  .gallery,
  .process,
  .features { grid-template-columns: 1fr; }
  .process { gap: 3rem; }

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

  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__nav, .footer__social { justify-content: center; }

  .hero { padding-top: 7rem; }
  .seal-wrap svg { width: 180px; height: 180px; }
}

@media (max-width: 480px) {
  .btn { padding: 0.85rem 1.5rem; font-size: 0.7rem; }
  .section__head { margin-bottom: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .seal-wrap { animation: none; opacity: 1; transform: none; }
  * { animation: none !important; transition: none !important; }
}

/* =========== BACK TO TOP =========== */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe39a 0%, #e6c477 45%, #b8923f 100%);
  color: #2a0d10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 0 0 1px rgba(230, 196, 119, 0.55), 0 12px 28px rgba(0, 0, 0, 0.45), 0 0 20px rgba(230, 196, 119, 0.25);
  z-index: 60;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  box-shadow: 0 0 0 1px var(--gold-warm), 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 30px rgba(255, 217, 122, 0.55);
  transform: translateY(-3px);
}
@media (max-width: 720px) {
  .back-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 46px;
    height: 46px;
  }
}
