/* Aventus Finance OÜ – brand: deep navy #0B1F33, gold #C9A24D */

:root {
  --navy: #0B1F33;
  --navy-mid: #132D47;
  --navy-light: #1A3A5C;
  --gold: #C9A24D;
  --gold-light: #E0C078;
  --gold-dark: #A8863A;
  --cream: #FAF8F4;
  --cream-dark: #F0EBE2;
  --white: #ffffff;
  --gray-100: #E8E4DC;
  --gray-300: #9BA3AD;
  --gray-600: #4A5568;
  --shadow-sm: 0 2px 8px rgba(11, 31, 51, 0.06);
  --shadow-md: 0 8px 30px rgba(11, 31, 51, 0.1);
  --shadow-lg: 0 20px 50px rgba(11, 31, 51, 0.15);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --header-h: 88px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-600);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy);
  border-color: var(--gold);
}

.btn--gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 77, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn--sm {
  padding: 0.55rem 1.35rem;
  font-size: 0.85rem;
}

.btn--full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 31, 51, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 162, 77, 0.12);
  transition: var(--transition);
}

.header--scrolled {
  background: rgba(11, 31, 51, 0.98);
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo img {
  height: 70px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.header__nav a:not(.btn) {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  transition: color var(--transition);
}

.header__nav a:not(.btn):hover {
  color: var(--gold-light);
}

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 5rem) 0 6rem;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(30deg, var(--gold) 12%, transparent 12.5%, transparent 87%, var(--gold) 87.5%, var(--gold)),
    linear-gradient(150deg, var(--gold) 12%, transparent 12.5%, transparent 87%, var(--gold) 87.5%, var(--gold));
  background-size: 80px 140px;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(201, 162, 77, 0.15) 0%, transparent 65%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero__badge-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}

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

.hero__lead {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.hero__chart {
  position: relative;
  width: 200px;
  height: 180px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
}

.hero__bar {
  width: 28px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  animation: barGrow 1.2s ease-out backwards;
}

.hero__bar--1 { height: 60px; animation-delay: 0.2s; }
.hero__bar--2 { height: 110px; animation-delay: 0.4s; }
.hero__bar--3 { height: 85px; animation-delay: 0.6s; }

@keyframes barGrow {
  from { height: 0; opacity: 0; }
  to { opacity: 1; }
}

.hero__arc {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 80px;
  border: 3px solid var(--gold);
  border-color: var(--gold) transparent transparent transparent;
  border-radius: 80px 80px 0 0;
  opacity: 0.6;
}

.hero__quote {
  text-align: center;
  max-width: 280px;
  padding: 1.5rem;
  border: 1px solid rgba(201, 162, 77, 0.25);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.hero__quote p {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.hero__quote cite {
  font-size: 0.8rem;
  font-style: normal;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Pillars */
.pillars {
  background: var(--cream);
  padding: 0;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}

.pillar {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid var(--gray-100);
  transition: var(--transition);
}

.pillar:last-child {
  border-right: none;
}

.pillar:hover {
  background: var(--cream);
}

.pillar__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.pillar h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.pillar p {
  font-size: 0.9rem;
  color: var(--gray-300);
  line-height: 1.55;
}

/* Section header */
.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 3.5rem;
}

.section-header--light h2,
.section-header--light p {
  color: var(--white);
}

.section-header--light .section-header__label {
  color: var(--gold-light);
}

.section-header__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

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

/* Services */
.services {
  padding: 6rem 0 5rem;
  background: var(--white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--cream);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
  transition: height var(--transition);
}

.service-card:hover {
  border-color: rgba(201, 162, 77, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card:hover::before {
  height: 100%;
}

.service-card--accent {
  background: var(--navy);
  border-color: var(--navy);
}

.service-card--accent::before {
  background: var(--gold);
}

.service-card--accent h3 {
  color: var(--white);
}

.service-card--accent p {
  color: rgba(255, 255, 255, 0.7);
}

.service-card--accent .service-card__icon {
  background: rgba(201, 162, 77, 0.15);
  color: var(--gold-light);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--white);
  color: var(--gold-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--gray-300);
  line-height: 1.6;
}

/* Process */
.process {
  padding: 5rem 0 6rem;
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: rgba(201, 162, 77, 0.3);
}

.process__step {
  text-align: center;
  position: relative;
}

.process__marker {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  border-radius: 50%;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(201, 162, 77, 0.3);
}

.process__body h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.process__body p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
}

/* About */
.about {
  padding: 6rem 0;
  background: var(--cream);
}

.about__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.about__logo {
  max-width: 300px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(var(--shadow-md));
}

.about__accent {
  position: absolute;
  inset: 10%;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  opacity: 0.25;
  transform: rotate(-3deg);
}

.about__content .section-header__label {
  text-align: left;
}

.about__content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.about__content > p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.about__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.about__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--navy);
  font-size: 0.95rem;
}

.about__list svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Contact */
.contact {
  padding: 6rem 0;
  background: var(--white);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: start;
}

.contact__info .section-header__label {
  text-align: left;
}

.contact__info h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.contact__info > p {
  color: var(--gray-300);
  margin-bottom: 2rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--navy);
  font-weight: 500;
  transition: color var(--transition);
}

a.contact__detail:hover {
  color: var(--gold-dark);
}

.contact__detail svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

.contact__company {
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact__company strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.contact__company span {
  font-size: 0.9rem;
  color: var(--gray-300);
}

/* Form */
.contact__form {
  background: var(--cream);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 77, 0.18);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.contact__form .btn--full {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: var(--gray-300);
  text-align: center;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 3.5rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer__brand img {
  margin-bottom: 1rem;
  border-radius: 8px;
}

.footer__brand p {
  font-size: 0.9rem;
  opacity: 0.65;
  max-width: 260px;
}

.footer__links h4 {
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer__links li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

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

.footer__bottom {
  border-top: 1px solid rgba(201, 162, 77, 0.15);
  padding: 1.25rem 0;
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer__bottom p {
  font-size: 0.85rem;
  opacity: 0.55;
  text-align: center;
  margin: 0;
}

.footer__credit {
  font-size: 0.8rem;
  opacity: 0.45;
}

.footer__credit a {
  color: var(--gold);
  transition: color var(--transition);
}

.footer__credit a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.footer__legal {
  display: inline-block;
  margin-left: 0.5rem;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__legal:hover {
  color: var(--gold-light);
}

/* Privacy */
.privacy {
  padding: 4rem 0;
  background: var(--cream-dark);
  border-top: 1px solid var(--gray-100);
}

.privacy h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 2rem;
  text-align: center;
}

.privacy__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.privacy h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.privacy p {
  font-size: 0.9rem;
  color: var(--gray-300);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

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

.privacy a:hover {
  color: var(--navy);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  padding: 1.25rem 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-top: 1px solid rgba(201, 162, 77, 0.2);
}

.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner[hidden] {
  display: block;
  visibility: hidden;
}

.cookie-banner--visible[hidden] {
  visibility: visible;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner p {
  font-size: 0.9rem;
  flex: 1;
  min-width: 240px;
}

.cookie-banner a {
  color: var(--gold-light);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.75rem;
  border-radius: 100px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(201, 162, 77, 0.3);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  z-index: 200;
  pointer-events: none;
}

.toast--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
  .hero__inner,
  .about__inner,
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__aside {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

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

  .pillar {
    border-right: none;
    border-bottom: 1px solid var(--gray-100);
  }

  .pillar:last-child {
    border-bottom: none;
  }

  .process__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .process__steps::before {
    display: none;
  }

  .about__visual {
    order: -1;
  }

  .about__logo {
    max-width: 240px;
  }
}

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

  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(201, 162, 77, 0.2);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .header__nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header__toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .header__toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

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

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

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

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand p {
    max-width: none;
  }

  .footer__brand img {
    margin-left: auto;
    margin-right: auto;
  }

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

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn {
    flex: 1;
  }

  .hero__aside {
    flex-direction: column;
  }
}
