@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Cormorant+Garamond:wght@500;600;700&display=swap");

:root {
  --bg: #f4f1ea;
  --bg-soft: #fcfbf7;
  --bg-panel: rgba(255, 252, 245, 0.86);
  --surface: #fffdf8;
  --surface-strong: #f8f3e8;
  --surface-dark: #11263a;
  --surface-dark-2: #17324b;
  --text: #1f2f3c;
  --text-soft: #51606d;
  --heading: #102334;
  --line: rgba(16, 35, 52, 0.12);
  --line-strong: rgba(16, 35, 52, 0.2);
  --brand: #0f5f67;
  --brand-2: #1b8c8c;
  --accent: #b3874d;
  --accent-soft: #e6d3b5;
  --white: #ffffff;
  --shadow-sm: 0 18px 40px rgba(17, 38, 58, 0.08);
  --shadow-lg: 0 32px 80px rgba(17, 38, 58, 0.15);
  --radius-sm: 18px;
  --radius: 28px;
  --radius-lg: 40px;
  --radius-xl: 48px;
  --container: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background:
    radial-gradient(circle at top left, rgba(27, 140, 140, 0.08), transparent 34%),
    radial-gradient(circle at 85% 12%, rgba(179, 135, 77, 0.09), transparent 30%),
    linear-gradient(180deg, #f8f5ee 0%, #f2eee5 52%, #f6f3ed 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 35, 52, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 35, 52, 0.025) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 78%);
  z-index: -1;
}

main {
  flex: 1;
  position: relative;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: relative;
  overflow: clip;
  padding-bottom: 2rem;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 18%, rgba(57, 154, 157, 0.32), transparent 26%),
    radial-gradient(circle at 84% 14%, rgba(179, 135, 77, 0.28), transparent 24%),
    linear-gradient(135deg, #071723 0%, #10293c 42%, #163a49 100%);
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.site-header::before {
  width: 520px;
  height: 520px;
  top: -260px;
  right: -140px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 46px rgba(255, 255, 255, 0.03),
    0 0 0 102px rgba(255, 255, 255, 0.025);
}

.site-header::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background:
    linear-gradient(180deg, rgba(244, 241, 234, 0), rgba(244, 241, 234, 0.92) 78%, var(--bg) 100%);
}

.grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1), transparent 82%);
}

.nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.2rem;
  margin-top: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(8, 24, 37, 0.58);
  box-shadow: 0 20px 42px rgba(4, 13, 21, 0.16);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 0;
}

.site-logo {
  display: block;
  width: 320px;
  max-width: min(54vw, 320px);
  height: auto;
  object-fit: contain;
}

.menu-toggle,
.menu-button {
  display: none;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0 auto;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(255, 248, 239, 0.86);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.hero,
.page-hero {
  position: relative;
  z-index: 2;
}

.hero {
  padding: 2.2rem 0 6.2rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 1.5rem;
  align-items: stretch;
}

.glass {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.025);
  box-shadow: 0 30px 70px rgba(5, 16, 26, 0.2);
  backdrop-filter: blur(16px);
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 38%);
}

.hero-copy {
  padding: 2.6rem 2.6rem 2.3rem;
}

.page-hero {
  padding: 2.4rem 2.55rem;
  margin: 2rem 0 5rem;
  max-width: 860px;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 2rem;
  top: 2rem;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 0 0 12px rgba(255, 255, 255, 0.03),
    0 0 0 12px rgba(255, 255, 255, 0.025);
  opacity: 0.8;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 237, 225, 0.78);
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--heading);
}

.site-header h1,
.site-header h2,
.site-header h3,
.site-header h4 {
  color: var(--white);
}

h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 5.15rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
  max-width: 12ch;
}

h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3.1vw, 3.2rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

h2::after {
  content: "";
  display: block;
  width: 92px;
  height: 3px;
  margin-top: 0.85rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

h3 {
  font-size: 1.45rem;
  line-height: 1.15;
  margin-bottom: 0.8rem;
}

.section-shell {
  position: relative;
  padding: 2rem;
  border: 1px solid rgba(16, 35, 52, 0.08);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 252, 246, 0.92)),
    var(--surface);
  box-shadow: var(--shadow-lg);
}

.section-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(179, 135, 77, 0.08), transparent 28%),
    linear-gradient(315deg, rgba(27, 140, 140, 0.06), transparent 24%);
}

.section-head {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.35rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(16, 35, 52, 0.1);
}

.hero-text,
.lead,
.section-intro,
.card p,
.contact-details p,
details p,
.footer-brand p,
.footer-column a,
.footer-bottom p,
li,
p {
  color: var(--text-soft);
}

.site-header .hero-text,
.site-header .lead,
.site-header p,
.site-header li,
.site-header .visual-card span,
.site-header .hero-metrics span {
  color: rgba(246, 240, 232, 0.82);
}

.lead,
.hero-text,
.section-intro {
  max-width: 66ch;
  font-size: 1.02rem;
}

.hero-actions,
.button-row,
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-actions,
.badge-row {
  margin-top: 1.5rem;
}

.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.button:hover,
.btn:hover {
  transform: translateY(-2px);
}

.button.primary,
.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--accent) 0%, #c89c63 30%, var(--brand) 100%);
  box-shadow: 0 16px 30px rgba(179, 135, 77, 0.26);
}

.button.ghost,
.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.btn-secondary {
  color: var(--heading);
  border-color: var(--line);
  background: var(--surface);
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 248, 239, 0.88);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.hero-visual {
  padding: 1.9rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 1.35rem 1.35rem auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 140, 140, 0.36), transparent 68%);
  filter: blur(6px);
  opacity: 0.9;
}

.orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.7;
  filter: blur(2px);
}

.orb.one {
  width: 160px;
  height: 160px;
  top: -26px;
  right: -20px;
  background: radial-gradient(circle, rgba(179, 135, 77, 0.72), rgba(179, 135, 77, 0));
}

.orb.two {
  width: 190px;
  height: 190px;
  bottom: -40px;
  left: -32px;
  background: radial-gradient(circle, rgba(27, 140, 140, 0.46), rgba(27, 140, 140, 0));
}

.visual-card,
.hero-metrics li {
  position: relative;
  z-index: 1;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(6, 21, 34, 0.28);
}

.visual-card strong,
.hero-metrics strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
}

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

.section {
  position: relative;
  padding: 5.6rem 0;
}

.section.alt {
  background:
    linear-gradient(180deg, rgba(17, 38, 58, 0.015), rgba(17, 38, 58, 0)),
    linear-gradient(90deg, rgba(179, 135, 77, 0.05), rgba(27, 140, 140, 0.03));
}

.section::before {
  content: "";
  position: absolute;
  inset: 1.4rem auto auto 50%;
  width: min(1000px, 90vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(16, 35, 52, 0.12), transparent);
}

.card-grid,
.stats-grid,
.footer-layout,
.footer-top,
.faq-list {
  display: grid;
  gap: 1.2rem;
}

.overview-grid,
.about-grid,
.services-grid,
.process-grid,
.contact-panels,
.faq-list {
  position: relative;
  z-index: 1;
}

.card-grid.three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card-grid.two,
.footer-layout {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card,
.stat,
details,
.contact-details {
  position: relative;
  overflow: hidden;
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 251, 244, 0.92)),
    var(--surface);
  box-shadow: 0 16px 34px rgba(17, 38, 58, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card::before,
.stat::before,
details::before,
.contact-details::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: 0.85;
}

.card:nth-child(2n)::before,
.card:nth-child(5n)::before,
details:nth-child(2n)::before {
  background: linear-gradient(90deg, var(--accent), var(--brand));
}

.card p:last-child,
.contact-details p:last-child,
details p:last-child {
  margin-bottom: 0;
}

.card:hover,
details:hover,
.contact-details:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(17, 38, 58, 0.1);
  border-color: rgba(15, 95, 103, 0.2);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.25rem;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.inline-link:hover {
  color: var(--accent);
}

.timeline {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin: 1rem 0 0;
  padding: 0;
}

.timeline li {
  position: relative;
  padding: 1rem 1rem 1rem 1.35rem;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.faq-list {
  gap: 1rem;
}

.services-grid,
.process-grid {
  counter-reset: panel-number;
}

.services-grid .card,
.process-grid .card,
.about-grid .card {
  padding-top: 4.2rem;
}

.services-grid .card::after,
.process-grid .card::after,
.about-grid .card::after {
  position: absolute;
  top: 1.2rem;
  right: 1.3rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--heading);
  background: linear-gradient(135deg, rgba(179, 135, 77, 0.18), rgba(27, 140, 140, 0.12));
  border: 1px solid rgba(16, 35, 52, 0.08);
}

.services-grid .card::after,
.process-grid .card::after {
  counter-increment: panel-number;
  content: counter(panel-number, decimal-leading-zero);
}

.about-grid {
  counter-reset: about-panel;
}

.about-grid .card::after {
  counter-increment: about-panel;
  content: counter(about-panel, decimal-leading-zero);
}

.process-grid .card h3 {
  max-width: 16ch;
}

details {
  padding: 1.15rem 1.25rem;
}

summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--heading);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--brand);
  font-size: 1.2rem;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

.contact-lines {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.contact-lines strong {
  color: var(--heading);
}

.button-row {
  margin-top: 1rem;
}

.legal-shell {
  max-width: 900px;
  padding: 2.3rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) - 4px);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow-lg);
}

.legal-shell h2 {
  margin-top: 2.4rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.legal-shell h2:first-of-type {
  margin-top: 1.2rem;
}

.legal-shell ul {
  padding-left: 1.2rem;
}

.page-home .hero-copy {
  min-height: 100%;
}

.page-home .hero-copy h1 {
  max-width: 11ch;
}

.page-home .hero-visual {
  grid-template-rows: repeat(3, minmax(0, auto));
}

.page-services .card-grid.three,
.page-process .card-grid.three {
  align-items: start;
}

.page-legal .page-hero {
  max-width: 780px;
}

.site-footer {
  position: relative;
  margin-top: auto;
  overflow: clip;
  color: rgba(245, 240, 233, 0.82);
  background:
    radial-gradient(circle at 10% 20%, rgba(27, 140, 140, 0.22), transparent 22%),
    radial-gradient(circle at 86% 14%, rgba(179, 135, 77, 0.18), transparent 20%),
    linear-gradient(135deg, #0a1b28 0%, #102334 54%, #133041 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.68), transparent 120%);
}

.footer-top {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(220px, 1fr));
  padding: 2.5rem 0 1.8rem;
}

.footer-brand,
.footer-column {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.16);
}

.footer-brand::before,
.footer-column::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--brand-2));
}

.footer-brand h3,
.footer-column h4 {
  margin-bottom: 0.8rem;
  color: var(--white);
}

.footer-brand p,
.footer-column li,
.footer-bottom p {
  color: rgba(248, 244, 238, 0.92);
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.footer-column a {
  text-decoration: none;
  color: rgba(252, 248, 242, 0.92);
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-column a:hover {
  color: var(--white);
  transform: translateX(2px);
}

.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-bottom-inner {
  padding: 0 0 1.3rem;
}

.footer-bottom p {
  margin: 0;
  text-align: center;
  font-size: 0.93rem;
}

#cookie-banner {
  border-radius: 26px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: linear-gradient(180deg, rgba(8, 24, 37, 0.96), rgba(12, 31, 44, 0.96)) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28) !important;
}

#cookie-banner button {
  font-family: "Outfit", "Segoe UI", sans-serif !important;
}

@media (max-width: 1024px) {
  .hero-layout,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .card-grid.three .card {
    transform: none !important;
  }

  .page-hero::after {
    opacity: 0.45;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(1180px, calc(100vw - 28px));
  }

  .site-header {
    padding-bottom: 1.25rem;
  }

  .nav {
    flex-wrap: nowrap;
    padding: 1rem;
    border-radius: 28px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .site-logo {
    width: 238px;
    max-width: 100%;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.65rem 0.95rem;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    z-index: 10;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    right: 0;
    z-index: 9;
    flex-direction: column;
    padding: 0.8rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(9, 23, 35, 0.96);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
  }

  .nav-links a {
    width: 100%;
    justify-content: flex-start;
  }

  .menu-toggle:checked + .menu-button + .nav-links {
    display: flex;
  }

  .hero {
    padding: 1.25rem 0 4.4rem;
  }

  .hero-copy,
  .hero-visual,
  .page-hero,
  .section-shell,
  .card,
  .stat,
  details,
  .contact-details,
  .footer-brand,
  .footer-column,
  .legal-shell {
    padding: 1.35rem;
  }

  .page-hero {
    margin: 1.4rem 0 4rem;
  }

  .page-hero::after {
    width: 66px;
    height: 66px;
    right: 1.25rem;
    top: 1.25rem;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.3rem);
    max-width: 10.5ch;
  }

  h2 {
    font-size: clamp(1.75rem, 7vw, 2.4rem);
  }

  .section {
    padding: 4rem 0;
  }

  .section-head {
    padding-bottom: 1.2rem;
    margin-bottom: 1.3rem;
  }

  .footer-top {
    padding: 1.9rem 0 1.3rem;
  }

  .footer-bottom-inner {
    padding-bottom: 1rem;
  }
}
