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

:root {
  --bg: #eaf5f3;
  --paper: #f9fffe;
  --paper-strong: #ffffff;
  --ink: #123936;
  --ink-soft: #2d5a56;
  --line: #b8d9d4;
  --brand-deep: #0a6f68;
  --brand-main: #25b6a5;
  --brand-soft: #67d7c8;
  --accent: #f7b500;
  --shadow: 0 22px 50px rgba(12, 58, 54, 0.14);
  --radius-lg: 24px;
  --radius-md: 16px;
  --max-width: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(103, 215, 200, 0.34), transparent 35%),
    radial-gradient(circle at 82% 0%, rgba(10, 111, 104, 0.22), transparent 38%),
    linear-gradient(160deg, #edf8f6 0%, #dbeeea 100%);
  min-height: 100vh;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
}

body::before {
  width: 280px;
  height: 280px;
  right: -80px;
  top: 90px;
  border-radius: 50%;
  background: rgba(37, 182, 165, 0.3);
}

body::after {
  width: 340px;
  height: 340px;
  left: -120px;
  bottom: -40px;
  border-radius: 50%;
  background: rgba(10, 111, 104, 0.24);
}

.page-shell {
  width: min(var(--max-width), calc(100% - 2.2rem));
  margin: 1.2rem auto 2rem;
}

.topbar {
  position: sticky;
  top: 0.8rem;
  z-index: 20;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(9, 86, 80, 0.22);
  border-radius: 999px;
  background: rgba(245, 255, 253, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(8, 54, 49, 0.13);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.65rem 0.55rem 1rem;
}

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

.brand img {
  height: 42px;
  width: auto;
}

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

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.48rem 0.85rem;
  transition: background-color 180ms ease, color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: #082f2d;
  background: rgba(37, 182, 165, 0.16);
  outline: none;
}

.hero {
  background:
    linear-gradient(130deg, rgba(8, 67, 63, 0.9), rgba(12, 112, 104, 0.82)),
    linear-gradient(180deg, #0e6f69, #085a55);
  color: #ecfffd;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3.3vw, 3.2rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(103, 215, 200, 0.27);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
  opacity: 0.9;
}

.hero h1 {
  margin: 0.45rem 0 0;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.65rem);
  line-height: 1.05;
  max-width: 10ch;
}

.lead {
  margin: 1rem 0 0;
  max-width: 62ch;
  line-height: 1.7;
  color: rgba(233, 255, 252, 0.94);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.66rem 1.1rem;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(6, 25, 23, 0.2);
  outline: none;
}

.btn-primary {
  color: #063230;
  background: linear-gradient(180deg, #ffcf4d, #f7b500);
}

.btn-ghost {
  color: #dcfffb;
  border: 1px solid rgba(220, 255, 251, 0.45);
  background: rgba(220, 255, 251, 0.11);
}

.hero-facts {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-facts li {
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(220, 255, 251, 0.33);
  font-size: 0.8rem;
  background: rgba(221, 255, 252, 0.12);
}

.panel {
  margin-top: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 253, 251, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 2.5vw, 1.9rem);
  box-shadow: 0 16px 35px rgba(10, 55, 51, 0.08);
}

.panel-head h2 {
  margin: 0.35rem 0 0;
  font-family: "Fraunces", "Times New Roman", serif;
  color: #113f3c;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.24;
}

.service-grid,
.contact-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.8rem;
}

.card {
  grid-column: span 4;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 252, 250, 0.95));
  border: 1px solid #cfe5e1;
  border-radius: var(--radius-md);
  padding: 1rem;
}

.card h3 {
  margin: 0;
  font-size: 1.02rem;
  color: #104844;
}

.card p {
  margin: 0.5rem 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 0.94rem;
}

.service-grid .card:last-child {
  grid-column: span 12;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 1.2rem;
  align-items: start;
}

.profile-block,
.about-block {
  border: 1px solid #d3e6e2;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff, #f4fbf9);
  padding: 1rem 1.1rem;
}

.profile-block p,
.about-block p {
  margin: 0;
  line-height: 1.72;
  color: var(--ink-soft);
}

.profile-block ul {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
  color: #174743;
  line-height: 1.75;
}

.source-note {
  margin-top: 0.8rem !important;
  padding-top: 0.65rem;
  border-top: 1px dashed #c7ddd8;
  font-size: 0.9rem;
}

.contact-card {
  grid-column: span 4;
}

.contact-card-wide {
  grid-column: span 12;
}

.contact-card a {
  color: #0a6f68;
  text-decoration: none;
  font-weight: 700;
}

.linkedin-panel {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: minmax(230px, 320px) 1fr;
  gap: 1rem;
  align-items: center;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem;
  border: 1px solid #d3e6e2;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f4fbf9);
}

.profile-card img {
  width: 86px;
  height: 86px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
  border: 1px solid #cfe5e1;
}

.profile-card-text {
  min-width: 0;
}

.profile-name {
  margin: 0;
  font-weight: 800;
  color: #104844;
}

.profile-role {
  margin: 0.2rem 0 0.45rem;
  font-size: 0.9rem;
}

.company-link {
  margin: 0;
  font-size: 0.96rem;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.flag-icon {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  border: 1px solid rgba(10, 111, 104, 0.22);
}

.contact-card a:hover,
.contact-card a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.footer {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: #255956;
  font-size: 0.86rem;
}

.footer img {
  width: 24px;
  height: 24px;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.footer-links a {
  color: #0a6f68;
  text-decoration: none;
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: rise-in 720ms cubic-bezier(0.21, 0.8, 0.28, 1) forwards;
}

.delay-1 {
  animation-delay: 70ms;
}

.delay-2 {
  animation-delay: 150ms;
}

.delay-3 {
  animation-delay: 230ms;
}

.delay-4 {
  animation-delay: 320ms;
}

.delay-5 {
  animation-delay: 410ms;
}

.delay-6 {
  animation-delay: 500ms;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1020px) {
  .split {
    grid-template-columns: 1fr;
  }

  .service-grid .card,
  .contact-card {
    grid-column: span 6;
  }

  .contact-card.contact-card-wide {
    grid-column: span 12;
  }

  .linkedin-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(var(--max-width), calc(100% - 1rem));
    margin: 0.7rem auto 1.3rem;
  }

  .topbar {
    top: 0.3rem;
    border-radius: 16px;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    gap: 0.35rem;
  }

  .nav a {
    text-align: center;
    background: rgba(37, 182, 165, 0.08);
  }

  .hero,
  .panel {
    border-radius: 18px;
  }

  .service-grid .card,
  .contact-card {
    grid-column: span 12;
  }

  .hero h1 {
    max-width: none;
  }
}
