/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --c-gold:       #D4A017;
  --c-gold-hi:    #E8B520;
  --c-gold-light: #FFF3D4;
  --c-warm-white: #FFFBF2;
  --c-cream:      #F0E8D0;
  --c-dark:       #1A0F00;
  --c-text:       #2D1F0E;
  --c-muted:      #7A5C38;
  --f-display: 'Abril Fatface', serif;
  --f-body:    'Inter', sans-serif;

  --ease-morph: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  background: var(--c-warm-white);
  color: var(--c-text);
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5vw;
  overflow: hidden;
  background-color: var(--c-warm-white);
  background-image:
    url('logo-bg.svg'),
    radial-gradient(ellipse 60% 70% at 85% 50%, rgba(212, 160, 23, 0.12) 0%, transparent 70%);
  background-size: 72vh 72vh, auto;
  background-position: 25% center, center center;
  background-repeat: no-repeat, no-repeat;
}

.hero-bg-flow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}


.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  gap: 6vw;
  padding: 5rem 0;
}

.hero-left {
  flex: 1;
  max-width: 52%;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 2.5rem;
}

.wordmark-icon {
  flex-shrink: 0;
  display: block;
}

.hero-headline {
  font-family: var(--f-display);
  font-size: clamp(3.2rem, 5vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--c-text);
  margin-bottom: 2rem;
}

.hero-sub {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 400;
  line-height: 1.8;
  color: var(--c-muted);
  max-width: 42ch;
}

.hero-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 340px;
}

/* ============================================================
   CTA MORPH — Signature element
   ============================================================ */
.cta-wrapper {
  position: relative;
}

.cta-btn {
  font-family: var(--f-body);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--c-dark);
  background: var(--c-gold);
  border: none;
  padding: 1.3rem 3rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, opacity 0.25s ease;
  animation: ctaPulse 2s ease-out infinite;
}

.cta-btn:hover {
  background: var(--c-gold-hi);
}

@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(212,160,23,0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(212,160,23,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,160,23,0); }
}

.cta-btn.hide {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
}

.form-reveal {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-morph);
  width: 380px;
}

.form-reveal.open {
  max-height: 680px;
}

.contact-form {
  border: 1px solid rgba(212, 160, 23, 0.25);
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(45, 31, 14, 0.07);
  padding: 2.2rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease 0.25s, transform 0.3s ease 0.25s;
}

.form-reveal.open .contact-form {
  opacity: 1;
  transform: translateY(0);
}

.form-title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--c-text);
  margin-bottom: 1.75rem;
  line-height: 1.3;
}

.field {
  margin-bottom: 1.1rem;
}

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(45, 31, 14, 0.22);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 400;
  padding: 0.6rem 0;
  outline: none;
  resize: none;
  transition: border-color 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(45, 31, 14, 0.42);
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--c-gold);
}

.submit-btn {
  margin-top: 1.5rem;
  width: 100%;
  background: var(--c-gold);
  border: none;
  color: #ffffff;
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.submit-btn:hover {
  background: var(--c-gold-hi);
}

@keyframes formPulse {
  0%   { box-shadow: 0 0 0 0 rgba(212,160,23,0.65), 0 4px 24px rgba(45,31,14,0.07); }
  50%  { box-shadow: 0 0 0 10px rgba(212,160,23,0.18), 0 4px 24px rgba(45,31,14,0.07); }
  100% { box-shadow: 0 0 0 22px rgba(212,160,23,0), 0 4px 24px rgba(45,31,14,0.07); }
}

.form-reveal.form-highlight {
  animation: formPulse 0.9s ease-out;
}

.form-error {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: #c0392b;
}

.form-success {
  display: none;
  padding: 2.2rem;
  background: var(--c-dark);
  border: 1px solid rgba(212, 160, 23, 0.35);
}

.form-success .success-thumb {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.form-success p {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--c-warm-white);
  line-height: 1.5;
}

.form-success p span {
  color: var(--c-gold);
}

.form-success.visible {
  display: block;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--c-cream);
  padding: 8rem 5vw;
}

.about-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.about-avatar {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--c-dark);
  color: var(--c-gold);
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-text {
  flex: 1;
}

.section-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1.1rem;
}

.section-label.light {
  color: rgba(212, 160, 23, 0.85);
}

.about-headline {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--c-text);
  margin-bottom: 1.75rem;
}

.about-text p {
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--c-muted);
  margin-bottom: 1.1rem;
}

.about-sig {
  font-family: var(--f-body);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--c-text) !important;
  margin-top: 0.5rem;
}

/* ============================================================
   CUSTOMER JOURNEY
   ============================================================ */
.journey {
  background: var(--c-dark);
  padding: 8rem 5vw;
}

.journey-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.journey-headline {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--c-warm-white);
  margin-bottom: 4.5rem;
}

.steps {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
}

.step {
  flex: 1;
  border: 1px solid rgba(212, 160, 23, 0.3);
  padding: 2rem 1.75rem;
}

.step-num {
  display: block;
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
  color: var(--c-gold);
  opacity: 0.75;
  margin-bottom: 0.85rem;
}

.step-title {
  font-family: var(--f-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--c-warm-white);
  margin-bottom: 0.7rem;
}

.step-desc {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 251, 242, 0.6);
}

.step-arrow {
  flex-shrink: 0;
  align-self: center;
  width: 36px;
  height: 2px;
  background: rgba(212, 160, 23, 0.4);
  position: relative;
}

.step-arrow::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid rgba(212, 160, 23, 0.4);
}

/* ============================================================
   BOTTOM CTA
   ============================================================ */
.cta-bottom {
  background: var(--c-gold);
  padding: 7rem 5vw;
  text-align: center;
}

.cta-bottom-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-bottom-headline {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--c-dark);
  margin-bottom: 2.5rem;
}

.cta-bottom-btn {
  font-family: var(--f-body);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--c-dark);
  background: transparent;
  border: 2px solid var(--c-dark);
  padding: 1.2rem 2.6rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.cta-bottom-btn:hover {
  background: var(--c-dark);
  color: var(--c-gold);
}

.cta-bottom-btn.to-circle {
  border-radius: 50%;
  background: var(--c-dark) !important;
  color: var(--c-gold) !important;
  border-color: var(--c-dark) !important;
  pointer-events: none;
  cursor: default;
  overflow: hidden;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--c-dark);
  border-top: 1px solid rgba(212, 160, 23, 0.1);
  padding: 2.5rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-wordmark {
  display: flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--f-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.footer-legal {
  font-size: 0.88rem;
  color: rgba(255, 251, 242, 0.28);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  /* HERO */
  .hero {
    align-items: flex-start;
  }

  .hero-content {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding: 5rem 0;
    text-align: center;
  }

  .hero-left {
    max-width: 100%;
  }

  .wordmark {
    justify-content: center;
  }

  .hero-sub {
    margin: 0 auto;
  }

  .hero-right {
    width: 100%;
    min-width: unset;
    justify-content: center;
  }

  .form-reveal {
    width: 100%;
  }

  /* ABOUT */
  .about-inner {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
  }

  /* JOURNEY */
  .journey-inner {
    text-align: center;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

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

  .step-arrow {
    width: 2px;
    height: 36px;
    margin-left: 0;
    margin-bottom: 0;
    background: rgba(212, 160, 23, 0.4);
  }

  .step-arrow::after {
    top: unset;
    right: unset;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid rgba(212, 160, 23, 0.4);
    border-bottom: none;
  }

  /* FOOTER */
  .footer {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
  }

  .footer-wordmark {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-reveal,
  .contact-form,
  .cta-btn {
    transition: none;
    animation: none;
  }
  .form-reveal.form-highlight {
    animation: none;
  }
}
