/* =========================================
   NC Consignado — style.css
   Aesthetic: Luxury Minimal · Ivory & Deep Navy
   ========================================= */

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

:root {
  --ivory:   #F7F4EE;
  --ivory-2: #EDE9E0;
  --navy:    #0F1D2E;
  --navy-2:  #1A2F45;
  --gold:    #B8965A;
  --gold-lt: #D4AE78;
  --text:    #2C2C2C;
  --text-lt: #6B6B6B;
  --white:   #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --radius: 4px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 8px 40px rgba(15,29,46,0.10);
  --shadow-sm: 0 2px 12px rgba(15,29,46,0.07);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--text); }
a  { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--gold); }

/* --- UTILITIES --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.tag--light { color: var(--gold-lt); border-color: var(--gold-lt); }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--gold);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,150,90,0.35);
}

/* --- REVEAL ANIMATION --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* --- HEADER / NAV --- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.header.scrolled {
  background: rgba(247, 244, 238, 0.97);
  box-shadow: 0 1px 24px rgba(15,29,46,0.08);
  padding: 0.75rem 0;
}
.header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  text-decoration: none;
}
.logo__nc {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.logo__text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-lt);
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav__link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav__link:hover, .nav__link.active { color: var(--gold); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--navy);
  transition: var(--transition);
}

/* --- SECTION BASE --- */
.section {
  padding: 6rem 0;
}
.section--dark {
  background: var(--navy);
}
.section--tinted {
  background: var(--ivory-2);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}
.section__title { margin-bottom: 1rem; }
.section__title--light { color: var(--white); }
.section__subtitle { color: var(--text-lt); font-size: 1.05rem; margin-top: 0.75rem; }
.section__body { color: var(--text-lt); margin-bottom: 1.2rem; font-size: 1.02rem; }

/* TWO-COL LAYOUT */
.two-col {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: start;
}
.two-col__label { padding-top: 0.4rem; }

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,150,90,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,150,90,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.hero__orb--1 {
  width: 520px; height: 520px;
  top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(184,150,90,0.12) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite;
}
.hero__orb--2 {
  width: 380px; height: 380px;
  bottom: 60px; left: -100px;
  background: radial-gradient(circle, rgba(15,29,46,0.07) 0%, transparent 70%);
  animation: float 13s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero__title {
  margin-bottom: 1.5rem;
  color: var(--navy);
}
.hero__body {
  font-size: 1.1rem;
  color: var(--text-lt);
  max-width: 540px;
  margin-bottom: 1.5rem;
}
.hero__disclaimer {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  background: var(--ivory-2);
  border: 1px solid var(--ivory-2);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 2.5rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero__scroll span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto;
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* REVEAL delays */
.hero__content .reveal:nth-child(1) { transition-delay: 0.1s; }
.hero__content .reveal:nth-child(2) { transition-delay: 0.22s; }
.hero__content .reveal:nth-child(3) { transition-delay: 0.34s; }
.hero__content .reveal:nth-child(4) { transition-delay: 0.44s; }
.hero__content .reveal:nth-child(5) { transition-delay: 0.54s; }

/* --- PILLARS --- */
.pillars {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.pillar__icon {
  font-size: 0.85rem;
  color: var(--gold);
}
.pillar__label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-lt);
}

/* --- STEPS --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  margin-top: 1rem;
}
.step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 2.5rem 2rem;
  transition: background var(--transition);
}
.step:hover { background: rgba(255,255,255,0.07); }
.step__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 1.2rem;
}
.step__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.step__text {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* --- CHECK LIST --- */
.check-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.98rem;
  color: var(--text-lt);
}
.check {
  color: var(--gold);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

/* --- TERMS BOX --- */
.terms-box {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-left: 3px solid var(--gold);
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-sm);
}
.terms-box__text {
  color: var(--text-lt);
  margin-bottom: 1.2rem;
  font-size: 1rem;
}
.terms-box__highlight {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  font-style: italic;
  border-top: 1px solid var(--ivory-2);
  padding-top: 1.2rem;
}

/* --- CONTACT --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--ivory-2);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.contact-card__icon {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.contact-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.contact-card__text { color: var(--text-lt); font-size: 0.9rem; margin-bottom: 0.75rem; }
.contact-card__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gold);
  transition: color var(--transition);
}
.contact-card__link:hover { color: var(--navy); }

/* --- FORM --- */
.contact-form {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ivory-2);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-lt);
  margin-bottom: 0.45rem;
}
.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text);
  background: var(--ivory);
  border: 1px solid var(--ivory-2);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,150,90,0.12);
}
.form-group input.error,
.form-group textarea.error {
  border-color: #c0392b;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.form-check input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--gold);
  flex-shrink: 0;
}
.form-check label {
  font-size: 0.85rem;
  color: var(--text-lt);
  line-height: 1.6;
}
.form-check label a { color: var(--gold); text-decoration: underline; }

.form-feedback {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 1.4rem;
}
.form-feedback.success { color: #2e7d32; }
.form-feedback.error   { color: #c0392b; }

/* --- FOOTER --- */
.footer {
  background: var(--navy);
  padding: 3.5rem 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}
.footer__brand {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}
.footer .logo__nc  { color: var(--ivory); }
.footer .logo__text { color: rgba(255,255,255,0.45); }
.footer__info p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}
.footer__links {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}
.footer__links a { color: var(--gold-lt); transition: color var(--transition); }
.footer__links a:hover { color: var(--white); }
.footer__copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 860px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .two-col__label { display: flex; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--ivory);
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 99;
  }
  .nav.open { display: flex; }
  .nav__link { font-size: 1.1rem; }
  .nav-toggle { display: flex; z-index: 101; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .section { padding: 4rem 0; }
  .contact-form { padding: 2rem 1.5rem; }
  .terms-box { padding: 2rem 1.5rem; }
  .steps { grid-template-columns: 1fr; }
}
