/* ==========================================================================
   RECALIBRACIÓN DE AUTORIDAD™ — Main Stylesheet
   Editorial, minimalist, dark green + gold. Feels like a private gallery
   or luxury consultancy — not a sales page.
   ========================================================================== */

:root {
  --black-green: #0b0f0a;
  --deep-green: #121a0f;
  --forest-green: #1c2a17;
  --moss-green: #354a2c;
  --antique-gold: #b98232;
  --soft-gold: #d7ad61;
  --champagne: #e7c98e;
  --warm-ivory: #f3e9d8;
  --muted-sage: #c9d0c1;
  --dark-wood: #180f08;

  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1200px;
  --max-read: 700px;

  --section-space-desktop: 140px;
  --section-space-mobile: 84px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background-color: var(--black-green);
  color: var(--warm-ivory);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--warm-ivory);
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--soft-gold);
  outline-offset: 3px;
}

/* Subtle texture, no image request */
.velvet-texture {
  position: relative;
}

.velvet-texture::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  mix-blend-mode: overlay;
  background-image: radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.02) 0, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(255, 255, 255, 0.018) 0, transparent 40%),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.01) 0px,
      rgba(255, 255, 255, 0.01) 1px,
      transparent 1px,
      transparent 3px
    );
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.read-width {
  max-width: var(--max-read);
}

section {
  padding: var(--section-space-desktop) 0;
  position: relative;
}

@media (max-width: 900px) {
  section {
    padding: var(--section-space-mobile) 0;
  }
  .container {
    padding: 0 22px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--soft-gold);
  font-weight: 600;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--antique-gold);
  display: inline-block;
}

.eyebrow--center {
  justify-content: center;
}

h1,
.h1 {
  font-size: clamp(42px, 11vw, 88px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

@media (min-width: 900px) {
  h1,
  .h1 {
    font-size: clamp(54px, 5.6vw, 88px);
  }
}

h2,
.h2 {
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1.16;
}

@media (min-width: 900px) {
  h2,
  .h2 {
    font-size: clamp(36px, 3.6vw, 58px);
  }
}

h3,
.h3 {
  font-size: clamp(22px, 4vw, 28px);
  line-height: 1.3;
}

p {
  margin: 0 0 20px;
  color: var(--muted-sage);
}

@media (max-width: 900px) {
  body {
    font-size: 17px;
  }
}

.text-gold {
  color: var(--soft-gold);
}

.text-ivory {
  color: var(--warm-ivory);
}

.gold-rule {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, var(--antique-gold), transparent);
  margin: 32px auto;
}

.gold-rule--reveal {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s var(--ease);
}

.gold-rule--reveal.is-visible {
  transform: scaleX(1);
}

.center {
  text-align: center;
}

.pull-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.45;
  color: var(--champagne);
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

.reveal-delay-1.is-visible {
  transition-delay: 0.1s;
}
.reveal-delay-2.is-visible {
  transition-delay: 0.2s;
}
.reveal-delay-3.is-visible {
  transition-delay: 0.3s;
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 30px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), filter 300ms var(--ease);
  white-space: nowrap;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #e1cf7a 0%, #b48f2b 48%, #d7c061 100%);
  color: var(--black-green);
  border-color: rgba(255, 244, 183, 0.65);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 600ms var(--ease);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover::after {
  left: 120%;
}

.btn-secondary {
  background: transparent;
  color: var(--champagne);
  border-color: var(--antique-gold);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(185, 130, 50, 0.08);
}

.btn-block {
  width: 100%;
}

.btn-microcopy {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted-sage);
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 400ms var(--ease), padding 400ms var(--ease), box-shadow 400ms var(--ease),
    backdrop-filter 400ms var(--ease);
  background: rgba(11, 15, 10, 0);
}

.navbar.is-scrolled {
  background: rgba(11, 15, 10, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(185, 130, 50, 0.16);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-lockup__name {
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--warm-ivory);
  line-height: 1.2;
}

.ra-logo-img {
  height: 42px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.navbar__links {
  display: none;
  align-items: center;
  gap: 40px;
}

.navbar__links a {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-sage);
  transition: color 250ms var(--ease);
  position: relative;
}

.navbar__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 1px;
  background: var(--soft-gold);
  transition: width 300ms var(--ease);
}

.navbar__links a:hover {
  color: var(--champagne);
}

.navbar__links a:hover::after {
  width: 100%;
}

.navbar__cta {
  display: none;
}

@media (min-width: 960px) {
  .navbar__links {
    display: flex;
  }
  .navbar__cta {
    display: inline-flex;
  }
}

.navbar__hamburger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}

@media (min-width: 960px) {
  .navbar__hamburger {
    display: none;
  }
}

.navbar__hamburger span {
  width: 24px;
  height: 1px;
  background: var(--champagne);
  transition: transform 300ms var(--ease), opacity 300ms var(--ease);
}

.navbar__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.navbar__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.navbar__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--black-green);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateY(-100%);
  transition: transform 450ms var(--ease);
}

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

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--warm-ivory);
}

.mobile-menu .btn {
  margin-top: 16px;
}

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

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
  background: radial-gradient(ellipse at 85% 15%, rgba(53, 74, 44, 0.5), transparent 55%),
    linear-gradient(180deg, var(--black-green) 0%, var(--deep-green) 55%, var(--black-green) 100%);
  overflow: hidden;
}

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

@media (min-width: 980px) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.85fr;
    gap: 48px;
  }
}

.hero__copy .eyebrow {
  animation: fade-in-up 1s var(--ease) 0.1s both;
}

.hero__copy h1 {
  animation: fade-in-up 1.1s var(--ease) 0.25s both;
}

.hero__copy p {
  animation: fade-in-up 1.1s var(--ease) 0.45s both;
}

.hero__actions {
  animation: fade-in-up 1.1s var(--ease) 0.6s both;
  margin-top: 20px;
}

.hero__meta {
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted-sage);
  line-height: 1.7;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__frame {
  position: relative;
  border: 1px solid rgba(215, 173, 97, 0.35);
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

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

.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 10, 0) 55%, rgba(11, 15, 10, 0.65) 100%);
}

.hero__frame-monogram {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
}

/* ==========================================================================
   Editorial gallery
   ========================================================================== */

.gallery {
  display: flex;
  flex-direction: column;
  gap: 96px;
}

@media (max-width: 900px) {
  .gallery {
    gap: 64px;
  }
}

.gallery-row {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .gallery-row {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .gallery-row--reverse {
    direction: rtl;
  }
  .gallery-row--reverse > * {
    direction: ltr;
  }
}

.gallery-row__photo {
  border: 1px solid rgba(215, 173, 97, 0.3);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.gallery-row__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-row__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.4;
  color: var(--champagne);
}

.gallery-single {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(215, 173, 97, 0.3);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.gallery-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

/* ==========================================================================
   Problem / editorial text blocks
   ========================================================================== */

.editorial-block {
  max-width: var(--max-read);
  margin: 0 auto;
  text-align: center;
}

.editorial-block p {
  font-size: 19px;
}

/* ==========================================================================
   Process — numbered steps
   ========================================================================== */

.process-list {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
}

.process-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(185, 130, 50, 0.2);
}

.process-item:first-child {
  border-top: 1px solid rgba(185, 130, 50, 0.2);
}

.process-item__number {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--antique-gold);
}

.process-item__title {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 10px;
  font-weight: 700;
}

.process-item p {
  margin: 0;
}

@media (max-width: 600px) {
  .process-item {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   Pre-price note ("Todo comienza antes de que nos sentemos a trabajar")
   ========================================================================== */

.pre-price {
  background: linear-gradient(180deg, var(--dark-wood) 0%, var(--black-green) 100%);
  border-top: 1px solid rgba(185, 130, 50, 0.2);
  border-bottom: 1px solid rgba(185, 130, 50, 0.2);
}

.pre-price__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing-grid {
  display: grid;
  gap: 32px;
  margin-top: 56px;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
  }
}

.pricing-card {
  border: 1px solid rgba(185, 130, 50, 0.3);
  border-radius: 4px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  background: rgba(28, 42, 23, 0.35);
}

.pricing-card--primary {
  border-color: var(--antique-gold);
  background: linear-gradient(160deg, rgba(53, 74, 44, 0.45), rgba(11, 15, 10, 0.6));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.pricing-card__label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--antique-gold);
  margin-bottom: 18px;
}

.pricing-card__price {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 48px);
  color: var(--warm-ivory);
  margin-bottom: 22px;
}

.pricing-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.pricing-card__list li {
  padding-left: 20px;
  position: relative;
  color: var(--muted-sage);
  font-size: 15px;
}

.pricing-card__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--antique-gold);
}

.pricing-card__location {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft-gold);
  margin-top: 4px;
  text-align: center;
}

.pricing-note {
  max-width: var(--max-read);
  margin: 48px auto 0;
  text-align: center;
  font-size: 15px;
  font-style: italic;
  color: var(--champagne);
}

/* ==========================================================================
   Qualification checklist
   ========================================================================== */

.qualify-list {
  max-width: 720px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.qualify-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 16px;
  align-items: baseline;
}

.qualify-item__check {
  color: var(--soft-gold);
  font-size: 15px;
  line-height: 1.7;
}

.qualify-item p {
  margin: 0;
  color: var(--warm-ivory);
  font-size: 17px;
}

/* ==========================================================================
   Result / closing benefits
   ========================================================================== */

.result-list {
  max-width: 560px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}

.result-list p {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--champagne);
  margin: 0;
}

/* ==========================================================================
   Private conversation / final CTA sections
   ========================================================================== */

.center-cta {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

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

.footer {
  border-top: 1px solid rgba(185, 130, 50, 0.2);
  padding: 72px 0 32px;
  background: var(--dark-wood);
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(185, 130, 50, 0.15);
  text-align: center;
}

.footer__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  color: var(--muted-sage);
  font-size: 14px;
  transition: color 250ms var(--ease);
}

.footer__links a:hover {
  color: var(--champagne);
}

.footer__bottom {
  padding-top: 28px;
  text-align: center;
  font-size: 12px;
  color: rgba(201, 208, 193, 0.6);
}

/* Utility */
.mt-0 {
  margin-top: 0;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
