:root {
  /* Dark (granat) */
  --ink: #0f1b2d;
  --ink-2: #14233a;
  --ink-3: #1d3151;
  --ink-card: #172941;
  --ink-line: rgba(255, 255, 255, 0.1);

  /* Gold */
  --gold: #d4a94e;
  --gold-2: #c8952e;
  --gold-soft: rgba(212, 169, 78, 0.14);

  /* Light */
  --cream: #faf8f4;
  --cream-2: #f2ede4;
  --white: #ffffff;

  /* Text */
  --text: #1a1a1e;
  --text-muted: #6a6a73;
  --on-dark: #e7ecf3;
  --on-dark-muted: #94a1b5;

  --primary-color: var(--ink);
  --secondary-color: var(--gold-2);
  --accent-color: var(--gold);
  --text-dark: var(--text);
  --text-light: var(--text-muted);
  --bg-white: var(--white);

  --radius: 14px;
  --shadow-sm: 0 4px 20px rgba(20, 20, 26, 0.06);
  --shadow-lg: 0 24px 60px rgba(20, 20, 26, 0.12);
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.65;
  color: var(--text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.footer-logo {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidden {
  display: none !important;
}

section[id] {
  scroll-margin-top: 90px;
}

/* ---------- Eyebrow label ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 7px 16px;
  border: 1px solid rgba(212, 169, 78, 0.35);
  border-radius: 100px;
  background: var(--gold-soft);
}

/* ---------- Header / Nav ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(15, 27, 45, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, padding 0.35s;
}

header.scrolled {
  background: rgba(15, 27, 45, 0.92);
  border-bottom-color: var(--ink-line);
  padding: 11px 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 55px;
  width: auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--on-dark);
  margin-left: 34px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
  position: relative;
}

.hamburger:focus-visible {
  outline: none;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--on-dark);
  border-radius: 2px;
  transition: all 0.3s;
  transform-origin: center;
}

.hamburger.active span {
  background: var(--text);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9.25px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9.25px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #1a1407;
  box-shadow: 0 10px 28px rgba(200, 149, 46, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(200, 149, 46, 0.44);
}

.btn-ghost {
  background: transparent;
  color: var(--on-dark);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ---------- Hero (dark) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 130px 0 120px;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(212, 169, 78, 0.16) 0%, transparent 55%),
    radial-gradient(90% 70% at 10% 110%, rgba(212, 169, 78, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #0f1b2d 0%, #14233a 100%);
  color: var(--on-dark);
}

/* subtle grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(100% 80% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(100% 80% at 50% 0%, #000 0%, transparent 75%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(212, 169, 78, 0.22) 0%, transparent 68%);
  filter: blur(20px);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 640px;
}

/* ---------- Hero photo (right half) ---------- */
.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 46%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 55%);
  mask-image: linear-gradient(to right, transparent 0%, #000 55%);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
}

/* navy tint so the photo sits in the palette */
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 27, 45, 0.5) 0%, rgba(15, 27, 45, 0.15) 35%, rgba(15, 27, 45, 0) 65%),
    linear-gradient(180deg, rgba(15, 27, 45, 0.25) 0%, rgba(15, 27, 45, 0) 30%, rgba(15, 27, 45, 0.35) 100%);
}

/* tablets: keep the side-by-side layout, just give the text less room */
@media (max-width: 1100px) {
  .hero-content {
    max-width: 54%;
  }

  .hero p {
    font-size: 1.08rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 0;
  }

  .hero-content {
    max-width: 640px;
  }

  .hero-photo {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 36px;
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  }

  .hero-photo img {
    object-position: 50% 15%;
  }

  .hero-photo::after {
    background: linear-gradient(180deg, rgba(15, 27, 45, 0.15) 0%, rgba(15, 27, 45, 0) 35%, #0f1b2d 100%);
  }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.9rem);
  line-height: 1.08;
  font-weight: 600;
  color: #fff;
  margin: 26px 0 22px;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}

.hero p {
  font-size: 1.18rem;
  max-width: 600px;
  color: var(--on-dark-muted);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-top: 48px;
  padding-top: 30px;
  border-top: 1px solid var(--ink-line);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  color: var(--on-dark-muted);
  font-weight: 500;
}

.hero-trust .icon {
  color: var(--gold);
  font-size: 1.05rem;
}

/* ---------- Section headers ---------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-header .eyebrow {
  margin-bottom: 18px;
}

.section-header h2 {
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* dark-section header variant */
.section-dark .section-header h2,
.features .section-header h2 {
  color: #fff;
}

.section-dark .section-header p,
.features .section-header p {
  color: var(--on-dark-muted);
}

.features .section-header {
  max-width: 900px;
}

/* ---------- Services (light) ---------- */
.services {
  padding: 110px 0;
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  padding: 40px 34px;
  border-radius: var(--radius);
  border: 1px solid #ece6da;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  text-align: left;
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-items: start;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 169, 78, 0.5);
  box-shadow: var(--shadow-lg);
}

.service-icon,
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  margin-bottom: 0;
  background: linear-gradient(135deg, var(--gold-soft), rgba(212, 169, 78, 0.05));
  border: 1px solid rgba(212, 169, 78, 0.28);
  color: var(--gold-2);
  font-size: 1.5rem;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.97rem;
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 12px;
}

/* ---------- Features (dark) ---------- */
.features {
  padding: 110px 0;
  background: var(--ink-2);
  color: var(--on-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-item {
  padding: 34px 28px;
  border-radius: var(--radius);
  background: var(--ink-card);
  border: 1px solid var(--ink-line);
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
  display: grid;
  grid-template-columns: 60px 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-items: start;
}

.feature-item:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 169, 78, 0.45);
  background: var(--ink-3);
}

.features .feature-icon {
  color: var(--gold);
  background: rgba(212, 169, 78, 0.1);
}

.feature-item h3 {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 6px;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.feature-item p {
  color: var(--on-dark-muted);
  font-size: 0.95rem;
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 12px;
}

/* ---------- Pricing (light) ---------- */
.pricing {
  padding: 110px 0;
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 36px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border: 1px solid #ece6da;
  border-radius: 18px;
  padding: 42px 32px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* featured = inverted dark card */
.pricing-card.featured {
  background: linear-gradient(165deg, #1a2c47 0%, #0f1b2d 100%);
  border-color: rgba(212, 169, 78, 0.4);
  color: var(--on-dark);
  box-shadow: 0 30px 60px rgba(20, 20, 26, 0.22);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 32px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #1a1407;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-header {
  margin-bottom: 26px;
  padding-bottom: 24px;
  border-bottom: 1px solid #efe9df;
}

.pricing-card.featured .pricing-header {
  border-bottom-color: var(--ink-line);
}

.pricing-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.pricing-card.featured .pricing-header h3 {
  color: var(--gold);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.price .amount {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}

.pricing-card.featured .price .amount {
  color: #fff;
}

.price .currency {
  font-size: 0.98rem;
  color: var(--text-muted);
}

.pricing-card.featured .price .currency {
  color: var(--on-dark-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  color: var(--text-dark);
  font-size: 0.96rem;
}

.pricing-card.featured .pricing-features li {
  color: var(--on-dark);
}

.pricing-features .icon {
  color: var(--gold-2);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.pricing-card.featured .pricing-features .icon {
  color: var(--gold);
}

.pricing-card.featured .btn-primary {
  align-self: center;
  width: 100%;
  text-align: center;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold-2);
  color: var(--gold-2);
  text-align: center;
}

.btn-outline:hover {
  background: var(--gold-2);
  color: #fff;
  transform: translateY(-2px);
}

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- Contact (dark) ---------- */
.contact {
  padding: 110px 0;
  background:
    radial-gradient(80% 60% at 90% 0%, rgba(212, 169, 78, 0.1) 0%, transparent 55%),
    var(--ink);
  color: var(--on-dark);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 600;
  color: #fff;
  margin: 18px 0 18px;
}

.contact-info > p {
  color: var(--on-dark-muted);
  font-size: 1.02rem;
}

.contact-details {
  margin-top: 34px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ink-line);
  border-radius: 12px;
  transition: border-color 0.25s, background 0.25s;
}

.contact-item:hover {
  border-color: rgba(212, 169, 78, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.contact-item .icon {
  font-size: 1.15rem;
  color: var(--gold);
  width: 24px;
  flex-shrink: 0;
}

.contact-item a {
  margin-left: 14px;
  color: var(--on-dark);
  text-decoration: none;
  transition: color 0.25s;
  font-size: 0.97rem;
}

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

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  color: var(--text);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e4e0d8;
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font-body);
  background-color: #fcfbf8;
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C8952E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 169, 78, 0.18);
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #1a1407;
  padding: 16px;
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(200, 149, 46, 0.4);
}

/* ---------- Footer ---------- */
footer {
  background: #0a1320;
  color: #8893a3;
  padding: 46px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  color: var(--gold);
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: 12px;
  display: block;
}

footer p {
  font-size: 0.88rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 968px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 440px;
    margin: 0 auto 36px;
  }

  .pricing-card.featured {
    order: -1;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 30px 30px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.18);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    margin: 0;
    color: var(--text);
    font-size: 1.1rem;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: block;
    width: 100%;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links.active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 280px;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 0 0 80px;
  }

  .services,
  .contact,
  .features,
  .pricing {
    padding: 70px 0;
  }

  .contact-form {
    padding: 28px 22px;
  }

}

/* ---------- Privacy / legal ---------- */
.form-privacy-note {
  margin-top: 14px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.form-privacy-note a {
  color: var(--gold-2);
  text-decoration: underline;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: #8893a3;
  font-size: 0.88rem;
  text-decoration: underline;
  transition: color 0.25s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-company {
  margin-top: 12px;
  font-size: 0.78rem;
  color: #8893a3;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
