/* Lorado Leasing – Corporate Trust: Light, Clean, Photo-Driven */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

/* ── Brand text selection ── */
::selection {
  background: rgba(212, 168, 67, 0.25);
  color: #0f1d2e;
}
::-moz-selection {
  background: rgba(212, 168, 67, 0.25);
  color: #0f1d2e;
}
html { scroll-behavior: smooth; }
html, body { height: 100%; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #faf9f6;
  color: #1e293b;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* ── Subtle paper grain texture ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ── Scroll progress bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #d4a843, #f0d78c);
  width: 0%;
  z-index: 1001;
  transition: width 0.05s linear;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
/* Gold accent line under nav */
.nav::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #d4a843 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.nav.scrolled {
  background: rgba(250, 248, 243, 0.97);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
  border-bottom-color: transparent;
}
.nav.scrolled::after {
  opacity: 1;
}
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 60px;
  width: auto;
}
.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-menu a {
  color: #64748b;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #d4a843;
  transition: width 0.3s ease;
}
.nav-menu a:hover {
  color: #b8860b;
}
.nav-menu a:hover::after {
  width: 100%;
}

/* ── Hero ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  /* Slow zoom animation */
  animation: heroZoom 25s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 29, 46, 0.55) 0%,
    rgba(15, 29, 46, 0.65) 50%,
    rgba(15, 29, 46, 0.8) 100%
  );
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 5.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #ffffff;
  position: relative;
  z-index: 2;
}
/* Gold shimmer effect on accent text */
.hero h1 .accent {
  background: linear-gradient(
    120deg,
    #d4a843 0%,
    #f0d78c 25%,
    #d4a843 50%,
    #f0d78c 75%,
    #d4a843 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 4s linear infinite;
}
@keyframes goldShimmer {
  to { background-position: 200% center; }
}
.hero p {
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.hero .divider {
  width: 60px;
  height: 2px;
  background: #d4a843;
  margin: 1.5rem auto;
  position: relative;
  z-index: 2;
}

/* Small hero for subpages */
.hero.small {
  height: 45vh;
  min-height: 350px;
}
.hero.small h1 {
  font-size: 3.5rem;
}

/* ── Scroll-triggered animations ── */
/* Hero elements animate immediately on load */
.fade-up {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp 0.9s ease forwards;
}
.fade-up-d1 { animation-delay: 0.15s; }
.fade-up-d2 { animation-delay: 0.35s; }
.fade-up-d3 { animation-delay: 0.55s; }
.fade-up-d4 { animation-delay: 0.75s; }

/* Elements below the fold: hidden until scrolled into view */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Content sections ── */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.section-centered {
  text-align: center;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #0f1d2e;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
p {
  font-size: 1.15rem;
  color: #475569;
  max-width: 700px;
  margin: 1rem auto;
  line-height: 1.8;
}
li {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.8;
}

/* ── Parallax image section ── */
.image-break {
  width: 100%;
  height: 450px;
  overflow: hidden;
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
/* Fallback for mobile (fixed bg not supported) */
.image-break img {
  display: none;
}
.image-break::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(250, 249, 246, 0.15) 0%,
    rgba(250, 249, 246, 0) 20%,
    rgba(250, 249, 246, 0) 80%,
    rgba(250, 249, 246, 0.15) 100%
  );
  pointer-events: none;
}

/* ── Gold rule divider ── */
.gold-rule {
  width: 60px;
  height: 2px;
  background: #d4a843;
  margin: 0 auto 2rem auto;
}

/* ── CTA button ── */
.btn {
  background: #0f1d2e;
  color: #ffffff;
  padding: 1rem 2.6rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  margin-top: 2rem;
  display: inline-block;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.4s ease;
  border: none;
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.btn:hover {
  background: #1a3050;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 67, 0.35);
}

/* ── Contact form ── */
.form-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
  max-width: 580px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 1.4rem;
  text-align: left;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #faf9f6;
  border: 1px solid #e2e0db;
  border-radius: 4px;
  color: #1e293b;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.form-input::placeholder {
  color: #94a3b8;
}
.form-input:focus {
  border-color: #d4a843;
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.12);
}
textarea.form-input {
  resize: vertical;
  min-height: 130px;
}

/* Form status messages */
.form-status {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  display: none;
}
.form-status.success {
  display: block;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}
.form-status.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* ── Footer ── */
.footer {
  background: #0f1d2e;
  color: #94a3b8;
  text-align: center;
  padding: 3rem 2rem;
}
.footer a {
  color: #d4a843;
  text-decoration: none;
}
.footer a:hover {
  color: #e6c06e;
}

/* ── Cookie banner ── */
.cookie-banner {
  background: #ffffff;
  border-top: 1px solid #e2e0db;
  color: #475569;
  padding: 1.2rem;
  text-align: center;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.05);
}
.cookie-banner button {
  background: #0f1d2e;
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.4rem;
  margin-left: 1rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

/* ── Bullet list ── */
.bullet-list {
  text-align: left;
  margin: 2.5rem auto;
  max-width: 700px;
}
.bullet-list li {
  margin: 1.2rem 0;
}

/* ── Custom scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #faf9f6;
}
::-webkit-scrollbar-thumb {
  background: #c4bfb2;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a39e92;
}
html {
  scrollbar-width: thin;
  scrollbar-color: #c4bfb2 #faf9f6;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem !important;
    line-height: 1.15 !important;
  }
  .hero p {
    font-size: 1.15rem !important;
  }
  .hero.small h1 {
    font-size: 2.2rem !important;
  }
  h2 {
    font-size: 2rem;
  }
  /* Parallax doesn't work on mobile, show image normally */
  .image-break {
    height: 250px;
    background-attachment: scroll;
  }
  .image-break img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .form-card {
    padding: 2rem 1.5rem;
  }
  .nav-menu {
    gap: 1.5rem;
  }
  .nav-menu a {
    font-size: 0.85rem;
  }
}
