/* ============================================
   NEGOTIUMSAVA — PREMIUM REDESIGN
   Aesthetic: Warm luxury, editorial, refined
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --cream: #F5F0E8;
  --warm-white: #FAF8F4;
  --dark: #1A1610;
  --charcoal: #2C2820;
  --brown: #8B6F4E;
  --gold: #C4A35A;
  --gold-light: #E8D5A3;
  --text-muted: #7A7060;
  --border: rgba(139, 111, 78, 0.2);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
}

/* ---- NAVIGATION ---- */
.ns-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 60px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
}

.ns-nav.scrolled {
  background: rgba(26, 22, 16, 0.95);
  backdrop-filter: blur(10px);
  height: 64px;
  box-shadow: 0 1px 30px rgba(0,0,0,0.2);
}

.ns-nav .logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.ns-nav .logo span { color: var(--gold); }

.ns-nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.ns-nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.3s;
  position: relative;
}

.ns-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.ns-nav-links a:hover { color: #fff; }
.ns-nav-links a:hover::after, .ns-nav-links a.active::after { transform: scaleX(1); }
.ns-nav-links a.active { color: var(--gold-light); }

.ns-nav .contact-info {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}

.ns-nav .contact-info a { color: var(--gold); text-decoration: none; }

/* ---- HERO ---- */
.ns-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 100px;
  overflow: hidden;
}

.ns-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.0); }
}

.ns-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,22,16,0.85) 0%,
    rgba(26,22,16,0.4) 50%,
    rgba(26,22,16,0.15) 100%
  );
}

.ns-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 1200px;
  animation: heroFadeUp 1.2s ease 0.3s both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.ns-hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ns-hero__eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.ns-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 28px;
  max-width: 750px;
}

.ns-hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.ns-hero__sub {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  font-weight: 300;
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.ns-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 36px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-weight: 400;
}

.ns-cta:hover {
  background: var(--gold);
  color: var(--dark);
}

.ns-cta-solid {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.ns-cta-solid:hover {
  background: transparent;
  color: var(--gold);
}

/* Scroll indicator */
.ns-scroll-hint {
  position: absolute;
  bottom: 40px;
  right: 80px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.ns-scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(196,163,90,0.6), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(8px); opacity: 0.7; }
}

/* ---- SECTIONS ---- */
.ns-section {
  padding: 100px 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.ns-section--full { max-width: none; padding-left: 0; padding-right: 0; }
.ns-section--dark { background: var(--dark); color: #fff; }
.ns-section--cream { background: var(--cream); }

.ns-section__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ns-section__eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.ns-section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 600px;
}

.ns-section__title em { font-style: italic; color: var(--brown); }

.ns-section__lead {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 48px;
}

.ns-section--dark .ns-section__title { color: #fff; }
.ns-section--dark .ns-section__title em { color: var(--gold-light); }
.ns-section--dark .ns-section__lead { color: rgba(255,255,255,0.55); }

/* ---- PAGE HEADER ---- */
.ns-page-header {
  position: relative;
  padding: 180px 80px 100px;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
}

.ns-page-header__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.ns-page-header__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,22,16,0.82) 0%,
    rgba(26,22,16,0.5) 60%,
    rgba(139,111,78,0.15) 100%
  );
}

.ns-page-header__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  animation: heroFadeUp 0.8s ease both;
}

.ns-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.ns-breadcrumb a { color: var(--gold); text-decoration: none; }
.ns-breadcrumb span { color: rgba(255,255,255,0.3); }

.ns-page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 20px;
}

.ns-page-header .subtitle {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 540px;
}

/* ---- PRODUCT GRID ---- */
.ns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--cream);
}

.ns-grid-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  text-decoration: none;
  display: block;
  background: var(--dark);
}

.ns-grid-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
  filter: brightness(0.88) saturate(0.9);
}

.ns-grid-item:hover .ns-grid-item__img {
  transform: scale(1.06);
  filter: brightness(0.7) saturate(0.8);
}

.ns-grid-item__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 28px 28px;
  background: linear-gradient(to top, rgba(26,22,16,0.88) 0%, transparent 100%);
  transform: translateY(12px);
  transition: transform 0.4s ease;
}

.ns-grid-item:hover .ns-grid-item__info { transform: translateY(0); }

.ns-grid-item__tag {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.ns-grid-item__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}

.ns-grid-item__desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin-top: 8px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.ns-grid-item:hover .ns-grid-item__desc {
  max-height: 80px;
  opacity: 1;
}

/* Full-width featured item */
.ns-grid-item--wide {
  grid-column: span 2;
}

/* ---- FEATURES STRIP ---- */
.ns-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ns-feature {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
}

.ns-feature:last-child { border-right: none; }

.ns-feature__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  color: var(--gold);
}

.ns-feature__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.ns-feature__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- CONTACT PAGE ---- */
.ns-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.ns-contact-info { padding-right: 40px; }

.ns-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.ns-contact-item:last-child { border-bottom: none; }

.ns-contact-item__icon {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.ns-contact-item__label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.ns-contact-item__value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--charcoal);
}

.ns-contact-item__value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.ns-contact-item__value a:hover { color: var(--gold); }

/* Form */
.ns-form { display: flex; flex-direction: column; gap: 20px; }

.ns-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.ns-form-group { display: flex; flex-direction: column; gap: 8px; }

.ns-form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ns-form-group input,
.ns-form-group textarea,
.ns-form-group select {
  border: 1px solid var(--border);
  background: var(--warm-white);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.3s;
  resize: vertical;
}

.ns-form-group input:focus,
.ns-form-group textarea:focus,
.ns-form-group select:focus {
  border-color: var(--gold);
}

.ns-form-group textarea { min-height: 140px; }

/* ---- FOOTER ---- */
.ns-footer {
  background: var(--dark);
  padding: 72px 80px 40px;
  color: rgba(255,255,255,0.6);
}

.ns-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 36px;
}

.ns-footer__brand .logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 16px;
}

.ns-footer__brand .logo span { color: var(--gold); }
.ns-footer__brand p { font-size: 0.85rem; line-height: 1.7; }

.ns-footer h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.ns-footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.ns-footer__links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

.ns-footer__newsletter { display: flex; flex-direction: column; gap: 10px; }
.ns-footer__newsletter p { font-size: 0.85rem; line-height: 1.6; margin-bottom: 12px; }

.ns-footer__newsletter-form {
  display: flex;
  border: 1px solid rgba(255,255,255,0.12);
}

.ns-footer__newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
}

.ns-footer__newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }

.ns-footer__newsletter-form button {
  background: var(--gold);
  color: var(--dark);
  border: none;
  padding: 12px 20px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  font-family: var(--font-body);
  font-weight: 500;
}

.ns-footer__newsletter-form button:hover { background: var(--gold-light); }

.ns-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.ns-footer__bottom a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
}

.ns-footer__bottom a:hover { color: var(--gold); }

/* ---- HOMEPAGE SPECIFIC ---- */
.ns-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.ns-service-card {
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.ns-service-card__num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold-light);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.5;
}

.ns-service-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.ns-service-card__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.ns-service-card__link {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
}

.ns-service-card__link:hover { gap: 16px; }

/* Testimonial / cert section */
.ns-certs {
  display: flex;
  gap: 0;
  overflow: hidden;
}

.ns-cert-item {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.ns-cert-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.ns-cert-item:hover img { transform: scale(1.04); }

/* ---- DIVIDER ---- */
.ns-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 32px 0;
}

/* ---- UTILITY ---- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.hidden { display: none; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .ns-nav { padding: 0 30px; }
  .ns-hero__content { padding: 0 30px; }
  .ns-section { padding: 72px 30px; }
  .ns-page-header { padding: 150px 30px 80px; }
  .ns-footer { padding: 60px 30px 36px; }
  .ns-footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .ns-services-grid { grid-template-columns: 1fr 1fr; }
  .ns-features { grid-template-columns: 1fr 1fr; }
  .ns-feature { border-bottom: 1px solid var(--border); }
  .ns-contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .ns-contact-info { padding-right: 0; }
}

@media (max-width: 768px) {
  .ns-nav-links, .ns-nav .contact-info { display: none; }
  .ns-hero__content { padding: 0 24px; }
  .ns-section { padding: 60px 24px; }
  .ns-page-header { padding: 130px 24px 60px; }
  .ns-grid { grid-template-columns: 1fr 1fr; }
  .ns-grid-item--wide { grid-column: span 1; }
  .ns-services-grid { grid-template-columns: 1fr; }
  .ns-features { grid-template-columns: 1fr; }
  .ns-form-row { grid-template-columns: 1fr; }
  .ns-footer { padding: 48px 24px 28px; }
  .ns-footer__top { grid-template-columns: 1fr; gap: 32px; }
  .ns-scroll-hint { display: none; }
}

@media (max-width: 480px) {
  .ns-grid { grid-template-columns: 1fr; }
}
