@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #eef3f9;
  --bg-2: #f7f9fc;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #0f172a;
  --muted: #5a6476;
  --line: rgba(15, 23, 42, 0.08);
  --primary: #0b2942;
  --primary-2: #123b63;
  --teal: #0e746f;
  --gold: #d9a74a;
  --success: #22c55e;
  --shadow: 0 20px 60px rgba(11, 41, 66, 0.12);
  --shadow-soft: 0 12px 30px rgba(11, 41, 66, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --font-body: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(217, 167, 74, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(18, 59, 99, 0.14), transparent 28%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.65), transparent 20%),
    radial-gradient(circle at 85% 5%, rgba(18, 59, 99, 0.08), transparent 18%);
  opacity: 0.8;
  z-index: -1;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-body {
  padding-top: 94px;
}

.section {
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.section__head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(14, 116, 111, 0.1);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow--light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.section__title,
.hero__title,
.page-hero__title {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 0.96;
  color: var(--primary);
}

.section__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-top: 0.95rem;
}

.section__text,
.hero__lead,
.page-hero__lead {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold), #f0c86f);
  color: #1a1a1a;
  box-shadow: 0 16px 30px rgba(217, 167, 74, 0.22);
}

.btn--primary:hover {
  box-shadow: 0 20px 34px rgba(217, 167, 74, 0.3);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.34);
}

.btn--nav {
  min-height: 44px;
  padding-inline: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(247, 249, 252, 0.7);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 94px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
}

.brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: var(--shadow-soft);
}

.brand__text {
  display: grid;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 1rem;
  color: var(--primary);
}

.brand__text small {
  font-size: 0.78rem;
  color: var(--muted);
}

.site-header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  color: var(--primary);
}

.site-header__toggle span:not(.sr-only) {
  position: absolute;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.site-header__toggle span:nth-of-type(1) {
  transform: translateY(-6px);
}

.site-header__toggle span:nth-of-type(2) {
  transform: translateY(0);
}

.site-header__toggle span:nth-of-type(3) {
  transform: translateY(6px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  padding: 0.8rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(11, 41, 66, 0.08);
  color: var(--primary);
}

/* Hero */
.hero {
  padding: 2rem 0 4rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: center;
}

.hero__copy {
  padding: clamp(1rem, 2.8vw, 2.2rem) 0;
}

.hero__title {
  font-size: clamp(3rem, 7vw, 5.9rem);
  max-width: 11ch;
  margin-top: 1rem;
}

.hero__lead {
  max-width: 62ch;
  margin: 1.25rem 0 0;
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.65rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.hero__meta span {
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  font-weight: 700;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  margin-top: 1.85rem;
}

.stat-card {
  padding: 1.15rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  display: block;
  color: var(--primary);
  font-size: 1.35rem;
  line-height: 1.1;
}

.stat-card span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.hero__visual {
  position: relative;
}

.hero__image-frame,
.page-hero__image-frame,
.split-card--image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero__image-frame {
  min-height: 640px;
  background: linear-gradient(180deg, rgba(11, 41, 66, 0.06), rgba(11, 41, 66, 0.32));
}

.hero__image-frame img,
.page-hero__image-frame img,
.split-card--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__floating {
  position: absolute;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 0.2rem;
}

.hero__floating strong {
  color: var(--primary);
  font-size: 1rem;
}

.hero__floating span {
  color: var(--muted);
  font-size: 0.84rem;
}

.hero__floating--one {
  left: -1rem;
  bottom: 5.5rem;
}

.hero__floating--two {
  right: -0.6rem;
  top: 2rem;
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.doc-card,
.info-panel,
.finance-example,
.finance-note-card,
.step-card,
.split-card--content,
.finance-copy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  padding: 1.25rem;
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(18, 59, 99, 0.1), rgba(14, 116, 111, 0.1));
  color: var(--primary);
  font-size: 1.2rem;
}

.feature-card h3,
.step-card h3,
.info-panel h3,
.doc-card h3,
.finance-copy h2,
.split-card--content h2,
.finance-example h3,
.page-hero__content h1 {
  margin: 0;
}

.feature-card h3 {
  margin-top: 1rem;
  color: var(--primary);
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

/* Finance */
.section--finance {
  position: relative;
}

.finance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1rem;
}

.finance-copy,
.finance-example {
  padding: clamp(1.2rem, 2.5vw, 2rem);
}

.finance-copy h2 {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.finance-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.finance-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--muted);
  line-height: 1.6;
}

.finance-list li::before {
  content: '•';
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
  margin-top: -0.08rem;
}

.finance-note {
  margin-top: 1.3rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(14, 116, 111, 0.08);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.6;
}

.finance-example {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--primary), #153e67);
  color: #fff;
}

.finance-example::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(217, 167, 74, 0.24), transparent 22%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.12), transparent 18%);
}

.finance-example > * {
  position: relative;
}

.finance-example .eyebrow {
  margin-bottom: 0.8rem;
}

.finance-example h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
  line-height: 1.02;
}

.finance-example__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.finance-example__row span {
  color: rgba(255, 255, 255, 0.78);
}

.finance-example__row strong {
  font-size: 1.2rem;
}

.finance-example p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}

/* Split section */
.split-grid,
.page-hero__grid,
.doc-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1rem;
  align-items: stretch;
}

.split-card--image {
  min-height: 520px;
}

.split-card--content {
  padding: clamp(1.2rem, 2.5vw, 2rem);
}

.split-card--content h2 {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.split-card--content p {
  color: var(--muted);
  line-height: 1.8;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.3rem 0;
}

.step-card {
  padding: 1rem;
}

.step-card strong {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(11, 41, 66, 0.08);
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.step-card h3 {
  color: var(--primary);
  font-size: 1.03rem;
}

.step-card p {
  margin: 0.65rem 0 0;
}

/* Page hero / legal pages */
.page-hero {
  padding: 2rem 0 1rem;
}

.page-hero__content,
.info-panel {
  padding: clamp(1.2rem, 2.6vw, 2rem);
}

.page-hero__content {
  align-self: center;
}

.page-hero__title {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  max-width: 12ch;
  margin-top: 1rem;
}

.page-hero__lead {
  margin-top: 1rem;
}

.page-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.fact-chip {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.fact-chip strong {
  display: block;
  color: var(--primary);
}

.fact-chip span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.page-hero__image-frame {
  min-height: 430px;
}

.legal-page .page-hero__image-frame {
  background: linear-gradient(180deg, rgba(14, 116, 111, 0.05), rgba(217, 167, 74, 0.06));
  padding: 0.85rem;
}

.legal-page .page-hero__image-frame img {
  object-fit: contain;
  border-radius: calc(var(--radius-xl) - 10px);
  background: #fff;
}

.doc-grid {
  margin-top: 1rem;
}

.doc-card {
  padding: clamp(1.2rem, 2.5vw, 2rem);
}

.doc-card h2,
.info-panel h2 {
  margin: 1.3rem 0 0.9rem;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 2.1rem);
}

.doc-card h3,
.info-panel h3 {
  margin-top: 1.5rem;
  color: var(--primary);
  font-size: 1.08rem;
}

.doc-card p,
.doc-card li,
.info-panel p {
  color: var(--muted);
  line-height: 1.8;
}

.doc-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
}

.info-panel {
  position: sticky;
  top: 112px;
  align-self: start;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 246, 250, 0.98));
  color: var(--text);
  border: 1px solid rgba(18, 59, 99, 0.12);
  padding: clamp(1.2rem, 2.6vw, 2rem);
}

.info-panel .eyebrow {
  margin-bottom: 0.85rem;
}

.info-panel p,
.info-panel li {
  color: var(--muted);
}

.info-panel ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.info-panel li {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(11, 41, 66, 0.04);
  color: var(--text);
}

.info-panel .eyebrow--light {
  background: rgba(14, 116, 111, 0.1);
  color: var(--teal);
}

/* Footer */
.site-footer {
  padding: 4rem 0 2rem;
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(217, 167, 74, 0.18), transparent 24%),
    linear-gradient(180deg, #071a2d 0%, #0a223a 100%);
  margin-top: 1rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 1rem;
}

.brand--footer .brand__mark {
  background: linear-gradient(135deg, var(--gold), #f0c86f);
  color: #1a1a1a;
}

.brand--footer .brand__text strong,
.brand--footer .brand__text small,
.site-footer h3,
.site-footer p,
.site-footer a,
.site-footer li,
.site-footer span {
  color: inherit;
}

.site-footer__brand p {
  margin: 1rem 0 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.site-footer__col h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.site-footer__list,
.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.site-footer__list li {
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__list strong {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.site-footer__list span {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.84);
  padding: 0.35rem 0;
}

.site-footer__links a:hover {
  color: #fff;
}

.site-footer__bottom {
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

/* Forms / admin safety */
input,
textarea,
select {
  width: 100%;
  margin-top: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button {
  border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.05;
}

/* WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #25d366, #19b851);
  box-shadow: 0 18px 38px rgba(25, 184, 81, 0.32);
  z-index: 1100;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* Responsive */
@media (max-width: 1180px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-body {
    padding-top: 86px;
  }

  .site-header__inner {
    min-height: 86px;
  }

  .site-header__toggle {
    display: inline-flex;
    position: relative;
  }

  .site-nav {
    position: absolute;
    top: 86px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.85rem;
    background: rgba(247, 249, 252, 0.96);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    text-align: center;
    padding: 0.95rem 1rem;
    background: rgba(11, 41, 66, 0.04);
  }

  .hero__grid,
  .finance-grid,
  .split-grid,
  .page-hero__grid,
  .doc-grid {
    grid-template-columns: 1fr;
  }

  .hero__title {
    max-width: 100%;
  }

  .hero__image-frame {
    min-height: 480px;
  }

  .hero__floating--one {
    left: 0.5rem;
    bottom: 1rem;
  }

  .hero__floating--two {
    right: 0.5rem;
    top: 1rem;
  }

  .steps-grid,
  .hero__stats,
  .page-hero__facts {
    grid-template-columns: 1fr;
  }

  .info-panel {
    position: static;
  }

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

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 1.2rem, 1180px);
  }

  .hero__image-frame,
  .page-hero__image-frame,
  .split-card--image {
    min-height: 330px;
  }

  .hero__title,
  .page-hero__title {
    font-size: clamp(2.4rem, 14vw, 3.6rem);
  }

  .site-nav {
    left: 0.6rem;
    right: 0.6rem;
  }
}
