:root {
  --ink: #1f1f1f;
  --heading: #5a5f63;
  --muted: #8a8f94;
  --line: #dfe3e5;
  --line-strong: #c7c9cc;
  --surface: #f5f7f8;
  --paper: #ffffff;
  --teal: #1fa7a1;
  --teal-dark: #138d87;
  --aqua: #2ec4b6;
  --charcoal: #3a3f44;
  --shadow: 0 24px 60px rgba(31, 31, 31, 0.1);
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: 72px;
  color: var(--ink);
  background: var(--surface);
  font-family: "Poppins", Calibri, Arial, sans-serif;
  line-height: 1.7;
}

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

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

p,
a,
li,
span,
strong {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
.brand,
.button,
.site-nav a {
  font-family: "Montserrat", Calibri, Arial, sans-serif;
}

h1,
h2,
h3 {
  color: var(--heading);
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.55rem);
  font-weight: 800;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.16rem;
  font-weight: 800;
}

p {
  color: var(--muted);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 10px var(--gutter);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
}

.site-nav a {
  position: relative;
  color: var(--heading);
  font-size: 0.84rem;
  font-weight: 700;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  padding: 10px 18px;
  color: #ffffff;
  background: var(--teal-dark);
  border-radius: 4px;
}

.site-nav .nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.section {
  padding: clamp(68px, 9vw, 118px) 0;
}

.section-white {
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 72px));
  overflow: hidden;
  background: var(--charcoal);
}

.hero-home {
  display: flex;
  align-items: flex-end;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(105deg, rgba(31, 31, 31, 0.92), rgba(31, 31, 31, 0.72) 48%, rgba(19, 141, 135, 0.28)),
    linear-gradient(0deg, rgba(31, 31, 31, 0.36), rgba(31, 31, 31, 0));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: clamp(86px, 12vw, 140px);
  padding-bottom: clamp(64px, 9vw, 104px);
}

.hero h1,
.hero p {
  color: #ffffff;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.74) !important;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-family: "Montserrat", Calibri, Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.roadmap-section .eyebrow,
.statement-section .eyebrow {
  color: var(--aqua);
}

.rule {
  display: block;
  width: 42px;
  height: 2px;
  margin-bottom: 22px;
  background: var(--teal);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
}

.button-primary {
  color: #ffffff;
  background: var(--teal-dark);
  box-shadow: 0 16px 38px rgba(19, 141, 135, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--charcoal);
  outline: none;
}

.button-secondary {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.46);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-dark);
  font-weight: 800;
}

.text-link::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--teal);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 7vw, 82px);
  align-items: start;
}

.section-kicker {
  position: sticky;
  top: 108px;
}

.intro-copy p {
  max-width: 760px;
  font-size: 1.04rem;
}

.section-heading {
  margin-bottom: 36px;
}

.centered {
  text-align: center;
}

.centered h2 {
  margin-right: auto;
  margin-left: auto;
}

.service-grid,
.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line-strong);
  background: var(--line-strong);
  gap: 1px;
}

.service-grid article,
.principle-grid article,
.post-list article {
  min-height: 100%;
  padding: 30px 26px;
  background: var(--paper);
}

.service-grid article:hover,
.principle-grid article:hover,
.post-list article:hover {
  background: var(--surface);
}

.service-grid span,
.timeline span,
.service-detail span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--teal-dark);
  font-family: "Montserrat", Calibri, Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-grid p,
.principle-grid p,
.timeline p,
.post-list p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.image-feature {
  background: linear-gradient(180deg, var(--surface), #eef3f4);
}

.image-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.feature-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.roadmap-section,
.statement-section {
  color: #ffffff;
  background: var(--charcoal);
}

.roadmap-section h2,
.roadmap-section h3,
.statement-section h2 {
  color: #ffffff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
}

.timeline article {
  padding: 34px 30px;
  background: var(--charcoal);
}

.timeline p {
  color: rgba(255, 255, 255, 0.62);
}

.page-hero {
  padding: clamp(88px, 12vw, 146px) 0 clamp(62px, 8vw, 102px);
  color: #ffffff;
  background:
    linear-gradient(115deg, rgba(31, 31, 31, 0.92), rgba(58, 63, 68, 0.86)),
    radial-gradient(circle at right top, rgba(46, 196, 182, 0.28), transparent 34%),
    var(--charcoal);
}

.page-hero h1,
.page-hero p {
  color: #ffffff;
}

.page-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.statement-section blockquote {
  max-width: 880px;
  margin: 0 auto;
  color: #ffffff;
  font-family: "Montserrat", Calibri, Arial, sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-detail {
  padding: clamp(28px, 4vw, 42px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 12px 34px rgba(31, 31, 31, 0.05);
}

.service-detail h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.service-detail ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-detail li {
  position: relative;
  padding-left: 28px;
  color: var(--heading);
  overflow-wrap: normal;
}

.service-detail li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--teal-dark);
  content: "✓";
  font-weight: 800;
}

.team-section {
  background: linear-gradient(180deg, var(--surface), #edf3f3);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.team-card {
  display: grid;
  gap: 18px;
  padding: clamp(26px, 4vw, 38px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 4px;
  box-shadow: 0 14px 36px rgba(31, 31, 31, 0.06);
}

.team-card-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

.team-photo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: center top;
  background: var(--surface);
  border: 3px solid rgba(31, 167, 161, 0.22);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(19, 141, 135, 0.22);
}

.team-card h3 {
  margin-bottom: 6px;
}

.team-card-header p,
.team-card > p,
.team-card li {
  margin-bottom: 0;
  color: #6f767b;
  font-size: 0.94rem;
}

.team-card-header p {
  color: var(--teal-dark);
  font-family: "Montserrat", Calibri, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.team-card ul {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.team-card li {
  position: relative;
  padding-left: 22px;
}

.team-card li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--teal-dark);
  content: "•";
  font-weight: 800;
}

.final-cta {
  text-align: center;
  background: var(--paper);
}

.final-cta h2,
.final-cta p {
  margin-right: auto;
  margin-left: auto;
}

.final-cta p {
  max-width: 620px;
}

.insight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
}

.featured-post {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 460px;
  padding: clamp(30px, 4vw, 46px);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(19, 141, 135, 0.94), rgba(58, 63, 68, 0.96)),
    var(--charcoal);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.featured-post h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.featured-post p {
  color: rgba(255, 255, 255, 0.75);
}

.featured-post a {
  align-self: flex-start;
  padding: 12px 16px;
  color: #ffffff;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 4px;
}

.post-list {
  display: grid;
  gap: 14px;
}

.post-list h3 a:hover,
.post-list h3 a:focus-visible {
  color: var(--teal-dark);
  outline: none;
}

.loading-card {
  grid-column: 1 / -1;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.article-content {
  max-width: 820px;
}

.article-content p {
  margin-bottom: 22px;
  color: #6f767b;
  font-size: clamp(1rem, 1.35vw, 1.08rem);
}

.article-content a {
  color: var(--teal-dark);
  font-weight: 800;
}

.article-aside {
  position: sticky;
  top: 108px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 4px;
}

.article-aside .button {
  width: 100%;
  margin: 8px 0 18px;
}

.post-meta,
.post-date {
  margin-bottom: 16px;
  color: var(--teal-dark);
  font-family: "Montserrat", Calibri, Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-post .post-meta {
  color: #a9fff7;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

.contact-card {
  margin-top: 26px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 4px;
}

.contact-card strong,
.contact-card span {
  display: block;
}

.contact-card strong {
  margin-bottom: 8px;
  color: var(--heading);
}

.contact-card a {
  color: var(--teal-dark);
  font-weight: 800;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

.legal-summary {
  position: sticky;
  top: 108px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 4px;
}

.legal-summary p {
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.legal-summary p:last-child {
  margin-bottom: 0;
}

.legal-summary strong {
  color: var(--heading);
}

.legal-summary a,
.legal-content a {
  color: var(--teal-dark);
  font-weight: 800;
}

.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  margin: 38px 0 14px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 16px;
  color: #6f767b;
}

.legal-list {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding-left: 22px;
  color: #6f767b;
}

.record-table {
  display: grid;
  gap: 1px;
  margin: 22px 0 28px;
  overflow: hidden;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}

.record-table div {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
  gap: 18px;
  padding: 16px 18px;
  background: var(--paper);
}

.record-table strong {
  color: var(--heading);
}

.record-table span {
  color: #6f767b;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--heading);
  font-family: "Montserrat", Calibri, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
}

input,
textarea {
  min-width: 0;
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fbfcfd;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(31, 167, 161, 0.14);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.site-footer {
  padding: 54px 0 28px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--charcoal);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(26px, 5vw, 58px);
}

.footer-brand img {
  width: 70px;
  margin-bottom: 18px;
}

.site-footer h4 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a,
.site-footer p,
.footer-bottom span {
  display: block;
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom a {
  color: #a9fff7;
  font-weight: 800;
}

.whatsapp-widget {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 40;
  display: grid;
  justify-items: end;
  gap: 14px;
  font-family: "Poppins", Calibri, Arial, sans-serif;
  pointer-events: none;
}

body.nav-menu-open .whatsapp-widget {
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}

.whatsapp-panel {
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  pointer-events: none;
  background: #eef7f4;
  border: 1px solid rgba(31, 167, 161, 0.28);
  border-radius: 10px;
  box-shadow: 0 26px 70px rgba(31, 31, 31, 0.22);
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transform-origin: right bottom;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.whatsapp-widget.is-open .whatsapp-panel {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.whatsapp-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #128c7e, #075e54);
}

.whatsapp-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  background: #1f1f1f;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
}

.whatsapp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.whatsapp-header strong,
.whatsapp-header span {
  display: block;
}

.whatsapp-header strong {
  font-family: "Montserrat", Calibri, Arial, sans-serif;
  font-size: 0.96rem;
}

.whatsapp-header span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
}

.whatsapp-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.whatsapp-body {
  display: grid;
  gap: 10px;
  padding: 18px 16px;
  background:
    radial-gradient(circle at 20% 10%, rgba(31, 167, 161, 0.1), transparent 28%),
    linear-gradient(135deg, #f8fffc, #e8f4ef);
}

.chat-bubble {
  max-width: 86%;
  padding: 11px 13px;
  color: #314046;
  font-size: 0.88rem;
  line-height: 1.45;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(31, 31, 31, 0.06);
}

.chat-bubble.bot {
  justify-self: start;
  background: #ffffff;
  border-top-left-radius: 4px;
}

.chat-bubble.small {
  font-size: 0.8rem;
}

.chat-bubble.user {
  justify-self: end;
  color: #203228;
  background: #dcf8c6;
  border-top-right-radius: 4px;
}

.whatsapp-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 0;
}

.whatsapp-options button {
  padding: 8px 10px;
  color: #075e54;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(18, 140, 126, 0.28);
  border-radius: 999px;
}

.whatsapp-options button:hover,
.whatsapp-options button:focus-visible,
.whatsapp-options button.is-selected {
  color: #ffffff;
  background: #128c7e;
  outline: none;
}

.whatsapp-start {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  color: #ffffff;
  font-family: "Montserrat", Calibri, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #25d366;
}

.whatsapp-start:hover,
.whatsapp-start:focus-visible {
  background: #128c7e;
  outline: none;
}

.whatsapp-launcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 18px 0 12px;
  color: #ffffff;
  font-family: "Montserrat", Calibri, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: #25d366;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.34);
  pointer-events: auto;
}

.whatsapp-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.whatsapp-icon svg {
  width: 27px;
  height: 27px;
  fill: #ffffff;
}

.whatsapp-pulse {
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(37, 211, 102, 0.52);
  border-radius: 999px;
  animation: whatsappPulse 1900ms ease-out infinite;
}

.site-transition {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  background:
    linear-gradient(120deg, rgba(31, 31, 31, 0.98), rgba(58, 63, 68, 0.95)),
    radial-gradient(circle at 50% 46%, rgba(46, 196, 182, 0.28), transparent 34%);
  transition:
    opacity 360ms ease,
    visibility 360ms ease;
}

.site-transition.is-active {
  visibility: visible;
  opacity: 1;
}

.site-transition.is-leaving {
  transition-duration: 240ms;
}

.site-transition__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(118px, 18vw, 178px);
  aspect-ratio: 1;
}

.site-transition__mark::before,
.site-transition__mark::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(46, 196, 182, 0.38);
  border-radius: 50%;
  animation: brandOrbit 1400ms ease-out infinite;
}

.site-transition__mark::after {
  inset: 15%;
  border-color: rgba(255, 255, 255, 0.28);
  animation-delay: 190ms;
}

.site-transition__mark img {
  position: relative;
  z-index: 1;
  width: 58%;
  height: 58%;
  object-fit: contain;
  filter: drop-shadow(0 20px 42px rgba(0, 0, 0, 0.32));
  animation: brandFloat 1200ms ease-in-out infinite alternate;
}

.site-transition__line {
  position: absolute;
  bottom: 18%;
  left: 50%;
  width: min(220px, 48vw);
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  transform: translateX(-50%);
}

.site-transition__line::after {
  display: block;
  width: 46%;
  height: 100%;
  content: "";
  background: var(--aqua);
  border-radius: inherit;
  animation: brandLine 980ms ease-in-out infinite;
}

body.page-transitioning main,
body.page-transitioning .site-header,
body.page-transitioning .site-footer,
body.page-transitioning .whatsapp-widget {
  transform: translateY(8px);
  opacity: 0.82;
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

@keyframes brandFloat {
  0% {
    transform: translateY(5px) scale(0.96);
  }

  100% {
    transform: translateY(-5px) scale(1.02);
  }
}

@keyframes brandOrbit {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }

  35% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes brandLine {
  0% {
    transform: translateX(-112%);
  }

  100% {
    transform: translateX(245%);
  }
}

@keyframes whatsappPulse {
  0% {
    opacity: 0.8;
    transform: scale(0.92);
  }

  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .whatsapp-pulse {
    display: none;
  }

  .whatsapp-panel {
    transition: none;
  }

  .site-transition {
    display: none;
    transition: none;
  }

  body.page-transitioning main,
  body.page-transitioning .site-header,
  body.page-transitioning .site-footer,
  body.page-transitioning .whatsapp-widget {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  :root {
    --gutter: clamp(18px, 4vw, 42px);
  }

  h1 {
    font-size: clamp(2.35rem, 8vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.85rem, 5.2vw, 3rem);
  }

  .site-header {
    gap: 18px;
  }

  .site-nav {
    gap: clamp(14px, 2.2vw, 22px);
  }

  .intro-grid,
  .image-feature-grid,
  .insight-grid,
  .contact-section,
  .legal-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .section-kicker,
  .legal-summary,
  .article-aside {
    position: static;
  }

  .service-grid,
  .principle-grid,
  .service-detail-grid,
  .team-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-post {
    min-height: 380px;
  }
}

@media (max-width: 860px) {
  body {
    padding-top: 68px;
  }

  .site-header {
    min-height: 68px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 18px;
    left: 18px;
    z-index: 1;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(31, 167, 161, 0.18);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav .nav-cta {
    margin-top: 10px;
    text-align: center;
    border-bottom: 0;
    width: 100%;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: clamp(16px, 5vw, 24px);
  }

  body {
    font-size: 0.97rem;
    line-height: 1.62;
  }

  .brand {
    gap: 9px;
    font-size: 0.96rem;
  }

  .site-nav {
    right: var(--gutter);
    left: var(--gutter);
    max-height: calc(100vh - 88px);
    overflow-y: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: clamp(88px, 18vw, 112px);
    padding-bottom: clamp(56px, 14vw, 76px);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.18rem, 11vw, 2.9rem);
  }

  h2 {
    font-size: clamp(1.72rem, 8vw, 2.2rem);
  }

  h3 {
    font-size: 1.05rem;
  }

  .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  .section {
    padding: 58px 0;
  }

  .page-hero {
    padding: 76px 0 58px;
  }

  .service-grid,
  .principle-grid,
  .service-detail-grid,
  .team-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article,
  .principle-grid article,
  .post-list article,
  .timeline article {
    padding: 24px 20px;
  }

  .service-detail,
  .team-card,
  .contact-card,
  .legal-summary,
  .article-aside {
    padding: 22px 18px;
  }

  .team-card-header {
    grid-template-columns: 1fr;
  }

  .featured-post {
    min-height: 360px;
  }

  .featured-post a,
  .article-aside .button {
    width: 100%;
    text-align: center;
  }

  .article-content p,
  .legal-content p,
  .intro-copy p {
    font-size: 0.98rem;
  }

  .record-table div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .whatsapp-widget {
    right: 14px;
    bottom: 14px;
  }

  .whatsapp-panel {
    width: min(350px, calc(100vw - 28px));
    max-height: min(620px, calc(100vh - 100px));
    overflow-y: auto;
  }

  .whatsapp-launcher {
    min-height: 54px;
    padding-right: 14px;
  }
}

@media (max-width: 420px) {
  .brand span {
    max-width: 92px;
  }

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

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  h1 {
    font-size: clamp(2rem, 10.5vw, 2.45rem);
  }

  .button {
    min-height: 50px;
    padding: 0 16px;
    font-size: 0.74rem;
  }

  .contact-form {
    padding: 20px 16px;
  }

  .whatsapp-widget {
    right: 12px;
    bottom: 12px;
    left: 12px;
    justify-items: end;
  }

  .whatsapp-panel {
    width: 100%;
  }
}
