:root {
  --navy: #1f2a44;
  --navy-deep: #141d31;
  --navy-soft: #34415e;
  --charcoal: #262930;
  --orange: #d2622e;
  --orange-deep: #a94419;
  --orange-soft: #f4c4aa;
  --green: #155334;
  --green-soft: #e7f0ea;
  --white: #ffffff;
  --paper: #fbfbfa;
  --mist: #f2f4f6;
  --line: #dfe3e8;
  --text: #303846;
  --muted: #5b6572;
  --shadow-sm: 0 8px 24px rgba(20, 29, 49, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 29, 49, 0.16);
  --radius-sm: 0.5rem;
  --radius: 0.9rem;
  --radius-lg: 1.35rem;
  --header-height: 5.75rem;
  --header-offset: calc(var(--header-height) + 3px);
  --font-sans: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset) + 1rem);
  overflow-x: clip;
}

body {
  min-width: 20rem;
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open::before {
  position: fixed;
  z-index: 90;
  inset: 0;
  background: rgba(8, 13, 24, 0.68);
  content: "";
}

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

img {
  height: auto;
}

a {
  color: var(--navy);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: var(--orange-deep);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

h1,
h2,
h3,
h4 {
  color: var(--charcoal);
  font-weight: 750;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.25rem, 5.3vw, 4.65rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

p,
li {
  max-width: 75ch;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

::selection {
  color: var(--white);
  background: var(--green);
}

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  color: var(--white);
  background: var(--navy-deep);
  border-radius: var(--radius-sm);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  color: var(--white);
  transform: translateY(0);
}

.container {
  width: min(100% - 2rem, 74rem);
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2rem, 52rem);
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section--compact {
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.section--soft {
  background: var(--mist);
  border-block: 1px solid var(--line);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
  color: var(--orange-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.75rem;
  height: 0.18rem;
  background: currentColor;
  border-radius: 99px;
  content: "";
}

.section-heading {
  max-width: 50rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-heading h2 {
  margin-bottom: 0.8rem;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.button-row--spaced {
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.25rem;
  color: var(--white);
  background: var(--orange-deep);
  border: 2px solid var(--orange-deep);
  border-radius: 0.55rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(169, 68, 25, 0.18);
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  color: var(--white);
  background: #873512;
  border-color: #873512;
  transform: translateY(-2px);
}

.button--outline {
  color: var(--navy);
  background: transparent;
  border-color: var(--navy);
  box-shadow: none;
}

.button--outline:hover {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.button--light {
  color: var(--navy-deep);
  background: var(--white);
  border-color: var(--white);
  box-shadow: none;
}

.button--light:hover {
  color: var(--navy-deep);
  background: var(--orange-soft);
  border-color: var(--orange-soft);
}

.button--whatsapp {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 8px 18px rgba(21, 83, 52, 0.2);
}

.button--whatsapp:hover {
  color: var(--white);
  background: #0c3922;
  border-color: #0c3922;
}

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--orange-deep);
  font-weight: 750;
  text-decoration: none;
}

.text-link::after {
  margin-left: 0.4rem;
  content: "→";
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translateX(0.25rem);
}

/* Header and navigation */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--white);
  background: rgba(31, 42, 68, 0.98);
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 4px 20px rgba(20, 29, 49, 0.14);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.site-brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  text-decoration: none;
}

.site-brand:hover {
  opacity: 0.9;
}

.site-brand img {
  width: auto;
  height: clamp(4.35rem, 5.7vw, 4.85rem);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-cta {
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.88rem;
}

.menu-toggle,
.menu-close {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 0.45rem;
  cursor: pointer;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

.menu-toggle-icon {
  position: relative;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-toggle-icon::before {
  top: -0.38rem;
}

.menu-toggle-icon::after {
  top: 0.38rem;
}

.site-menu-panel {
  position: fixed;
  z-index: 110;
  top: 0;
  right: 0;
  display: flex;
  width: min(88vw, 24rem);
  height: 100dvh;
  padding: 1.25rem;
  flex-direction: column;
  color: var(--white);
  background: var(--navy-deep);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.site-menu-panel[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.menu-close {
  align-self: flex-end;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  line-height: 1;
}

.site-menu {
  display: flex;
  padding: 0;
  margin: 0;
  flex-direction: column;
  list-style: none;
}

.site-menu a {
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  color: #e7ebf2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 650;
  text-decoration: none;
}

.site-menu a:hover,
.site-menu a[aria-current="page"],
.site-menu a[aria-current="location"] {
  color: var(--orange-soft);
}

.menu-meta {
  margin-top: auto;
  padding-top: 1.5rem;
  color: #bdc5d4;
  font-size: 0.84rem;
}

.menu-meta a {
  color: var(--white);
}

/* Home hero */
.home-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 20%, rgba(210, 98, 46, 0.24) 0 4px, transparent 5px),
    radial-gradient(circle at 20% 34%, rgba(255, 255, 255, 0.14) 0 5px, transparent 6px),
    linear-gradient(118deg, var(--navy-deep), var(--navy) 62%, #293956);
}

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

.home-hero::before {
  top: -18rem;
  right: -12rem;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 6rem rgba(255, 255, 255, 0.02), 0 0 0 12rem rgba(255, 255, 255, 0.015);
}

.home-hero::after {
  bottom: 12%;
  left: 5%;
  width: 20rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 196, 170, 0.5), transparent);
  transform: rotate(-24deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: min(47rem, calc(100svh - var(--header-height)));
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

.hero-copy {
  max-width: 44rem;
}

.home-hero .eyebrow {
  color: var(--orange-soft);
}

.home-hero h1 {
  margin-bottom: 1.35rem;
  color: var(--white);
  text-wrap: balance;
}

.home-hero h1 em {
  color: var(--orange-soft);
  font-style: normal;
}

.hero-lead {
  margin-bottom: 1.1rem;
  color: #d6dce6;
  font-size: clamp(1.03rem, 1.6vw, 1.2rem);
}

.hero-claim {
  margin-bottom: 1.8rem;
  color: var(--white);
  font-size: 1.03rem;
  font-weight: 750;
}

.hero-claim span {
  color: var(--orange-soft);
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: -1rem 1rem 1rem -1rem;
  background: var(--orange);
  border-radius: var(--radius-lg);
  opacity: 0.32;
  content: "";
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-note {
  position: absolute;
  right: -0.75rem;
  bottom: 1.25rem;
  max-width: 16rem;
  padding: 0.9rem 1rem;
  color: var(--navy-deep);
  background: rgba(255, 255, 255, 0.96);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  font-weight: 750;
}

/* News cards */
.news-grid {
  display: grid;
  gap: 1rem;
}

.news-card {
  position: relative;
  display: flex;
  min-height: 100%;
  padding: 1.5rem;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.news-card::before {
  position: absolute;
  top: 0;
  right: 1.5rem;
  left: 1.5rem;
  height: 0.23rem;
  background: var(--orange);
  border-radius: 0 0 99px 99px;
  content: "";
}

.news-card:nth-child(2)::before {
  background: var(--green);
}

.news-card:nth-child(3)::before {
  background: var(--navy);
}

.news-card__meta {
  margin: 0.4rem 0 0.75rem;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.news-card h3 {
  margin-bottom: 0.8rem;
}

.news-card p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.news-card .text-link {
  margin-top: auto;
}

/* Services */
.service-stage + .service-stage {
  margin-top: clamp(3.25rem, 7vw, 5.5rem);
}

.stage-heading {
  display: flex;
  margin-bottom: 1.35rem;
  align-items: center;
  gap: 0.9rem;
}

.stage-heading::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.stage-heading h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  letter-spacing: -0.01em;
}

.stage-marker {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  flex: none;
  place-items: center;
  color: var(--white);
  background: var(--orange-deep);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 800;
}

.stage-marker--navy {
  background: var(--navy);
}

.stage-marker--green {
  background: var(--green);
}

.service-grid {
  display: grid;
  gap: 1rem;
}

.service-card {
  position: relative;
  min-width: 0;
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-card:hover {
  border-color: #bac2cd;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.service-card__top {
  display: flex;
  margin-bottom: 0.75rem;
  align-items: flex-start;
  gap: 0.8rem;
}

.service-symbol {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  flex: none;
  place-items: center;
  color: var(--navy);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.03em;
}

.service-card h4 {
  margin: 0.15rem 0 0;
  color: var(--navy);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.service-card p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.service-tag {
  display: inline-flex;
  padding: 0.3rem 0.65rem;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.35;
}

.service-card--tinted {
  background: var(--paper);
}

.service-card--featured {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
}

.service-card--featured:hover {
  border-color: var(--orange-soft);
}

.service-card--featured .service-symbol {
  color: var(--navy-deep);
  background: var(--orange-soft);
  border-color: var(--orange-soft);
}

.service-card--featured h4,
.service-card--featured p {
  color: var(--white);
}

.service-card--featured p {
  color: #d7ddea;
}

.service-card--featured .service-tag {
  color: var(--navy-deep);
  background: var(--orange-soft);
}

.service-card--featured .text-link {
  color: var(--orange-soft);
}

/* Process */
.process-list {
  position: relative;
  display: grid;
  padding: 0;
  margin: 0;
  gap: 1rem;
  list-style: none;
  counter-reset: process;
}

.process-step {
  position: relative;
  z-index: 1;
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: process;
}

.process-step::before {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  content: counter(process, decimal-leading-zero);
  font-size: 0.78rem;
  font-weight: 850;
}

.process-step:last-child::before {
  background: var(--green);
}

.process-step h3 {
  margin-bottom: 0.5rem;
  color: var(--navy);
  font-size: 1.05rem;
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Documentation */
.document-grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.document-card {
  display: flex;
  min-width: 0;
  padding: 1.5rem;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.document-card__owner {
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.document-card h3 {
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: 1.1rem;
}

.document-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.document-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.45rem;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  font-size: 0.86rem;
}

.document-list li::before {
  position: absolute;
  left: 0.1rem;
  color: var(--orange-deep);
  content: "•";
  font-weight: 800;
}

.document-list li:first-child {
  border-top: 0;
}

.document-card__note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.document-card--team {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
}

.document-card--team .document-card__owner {
  color: var(--orange-soft);
}

.document-card--team h3 {
  color: var(--white);
}

.document-card--team .document-list li {
  color: #d8deea;
  border-top-color: rgba(255, 255, 255, 0.16);
}

.document-card--team .document-list li::before {
  color: var(--orange-soft);
  content: "✓";
}

/* Avvalia */
.avvalia-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  background: linear-gradient(125deg, var(--green), #0c3922);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.avvalia-panel::after {
  position: absolute;
  right: -5rem;
  bottom: -7rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 2.5rem rgba(255, 255, 255, 0.03), 0 0 0 5rem rgba(255, 255, 255, 0.025);
  content: "";
}

.avvalia-panel__content {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  gap: 1.5rem;
}

.avvalia-panel .eyebrow {
  color: #e7c1a8;
}

.avvalia-panel h2 {
  max-width: 43rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.avvalia-panel p {
  margin-bottom: 0;
  color: #d8e6dd;
}

/* Courses */
.training-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

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

.course-item {
  display: grid;
  min-width: 0;
  padding: 1rem 1.15rem;
  align-items: center;
  gap: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius-sm);
}

.course-item:nth-child(3n + 2) {
  border-left-color: var(--green);
}

.course-item:nth-child(3n) {
  border-left-color: var(--orange);
}

.course-title {
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 700;
}

.course-duration {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  white-space: nowrap;
}

.label {
  display: inline-flex;
  margin-right: 0.45rem;
  padding: 0.18rem 0.42rem;
  color: var(--navy-deep);
  background: var(--orange-soft);
  border-radius: 0.25rem;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  vertical-align: 0.1rem;
}

.training-photo {
  overflow: hidden;
  background: var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.training-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.training-photo figcaption {
  padding: 1rem 1.15rem;
  color: #d7ddea;
  font-size: 0.84rem;
}

/* About */
.about-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-copy p {
  color: var(--muted);
  font-size: 1rem;
}

.brand-card {
  padding: clamp(1.5rem, 4vw, 2.3rem);
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), var(--navy-deep));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.brand-card img {
  width: min(100%, 18rem);
  margin: 0 auto 1.25rem;
}

.brand-card__meta {
  display: block;
  margin-bottom: 1rem;
  color: var(--orange-soft);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-align: center;
}

.check-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.7rem;
  color: #d8deea;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--orange-soft);
  content: "✓";
  font-weight: 900;
}

.check-list li:first-child {
  border-top: 0;
}

.pillar-grid {
  display: grid;
  margin-top: 2rem;
  gap: 0.9rem;
}

.pillar-card {
  position: relative;
  display: block;
  min-height: 100%;
  padding: 1.25rem;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.pillar-card:nth-child(2) {
  border-top-color: var(--green);
}

.pillar-card:nth-child(3) {
  border-top-color: var(--charcoal);
}

.pillar-card:nth-child(4) {
  border-top-color: var(--navy);
}

.pillar-card:hover {
  color: inherit;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.pillar-card h3 {
  margin-bottom: 0.55rem;
  color: var(--navy);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.pillar-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Contact */
.contact-layout {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.contact-copy > p {
  color: var(--muted);
  font-size: 1.03rem;
}

.contact-list {
  display: grid;
  padding: 0;
  margin: 1.5rem 0;
  gap: 0.8rem;
  list-style: none;
}

.contact-list li {
  display: grid;
  padding: 0.9rem 1rem;
  gap: 0.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.contact-list strong {
  color: var(--navy);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-list span,
.contact-list a {
  overflow-wrap: anywhere;
}

.contact-photo {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Internal pages */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  color: var(--white);
  background: linear-gradient(118deg, var(--navy-deep), var(--navy));
}

.page-hero::after {
  position: absolute;
  top: -14rem;
  right: -9rem;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, 0.025), 0 0 0 8rem rgba(255, 255, 255, 0.02);
  content: "";
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 51rem;
}

.page-hero h1 {
  margin-bottom: 1.1rem;
  color: var(--white);
  font-size: clamp(2.35rem, 6vw, 4.6rem);
  text-wrap: balance;
}

.page-hero p {
  margin-bottom: 0;
  color: #d6dce6;
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
}

.page-hero .eyebrow {
  color: var(--orange-soft);
}

.page-nav {
  position: sticky;
  z-index: 20;
  top: var(--header-offset);
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.page-nav ul {
  display: flex;
  width: max-content;
  min-width: 100%;
  padding: 0;
  margin: 0;
  gap: 0.3rem;
  list-style: none;
}

.page-nav a {
  display: flex;
  min-height: 3.25rem;
  padding: 0.65rem 0.9rem;
  align-items: center;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.page-nav a:hover {
  color: var(--orange-deep);
  background: var(--mist);
}

.content-stack {
  display: grid;
  min-width: 0;
  gap: clamp(3.5rem, 8vw, 6rem);
}

.article-section {
  min-width: 0;
  scroll-margin-top: calc(var(--header-offset) + 4rem);
}

.article-section__meta {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--orange-deep);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-section h2 {
  max-width: 46rem;
  margin-bottom: 1.25rem;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.article-section p,
.article-section li {
  color: var(--muted);
}

.article-section ul {
  padding-left: 1.25rem;
}

.info-box {
  padding: 1.15rem 1.25rem;
  margin-block: 1.5rem;
  color: var(--text);
  background: var(--mist);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.info-box--green {
  background: var(--green-soft);
  border-left-color: var(--green);
}

.info-box p:last-child {
  margin-bottom: 0;
}

.table-scroll {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-block: 1.4rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.91rem;
}

caption {
  padding: 0.8rem 1rem;
  color: var(--navy);
  background: var(--mist);
  font-weight: 750;
  text-align: left;
}

th,
td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--navy);
  background: var(--mist);
}

tr:last-child td {
  border-bottom: 0;
}

.cta-panel {
  padding: clamp(1.8rem, 5vw, 3rem);
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.cta-panel h2,
.cta-panel h3 {
  color: var(--white);
}

.cta-panel p {
  margin-inline: auto;
  color: #d6dce6;
}

.cta-panel .button-row {
  justify-content: center;
}

/* Consulting page */
.benefit-list {
  display: flex;
  padding: 0;
  margin: 2rem 0 0;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
}

.benefit-list li {
  padding: 0.5rem 0.8rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 750;
}

.service-area {
  scroll-margin-top: calc(var(--header-offset) + 4rem);
}

.service-area + .service-area {
  padding-top: clamp(3.5rem, 8vw, 6rem);
  border-top: 1px solid var(--line);
}

.area-heading {
  max-width: 48rem;
  margin-bottom: 1.75rem;
}

.area-heading h2 {
  display: flex;
  margin-bottom: 0.7rem;
  align-items: center;
  gap: 0.75rem;
}

.area-dot {
  width: 0.8rem;
  height: 0.8rem;
  flex: none;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 0.35rem rgba(210, 98, 46, 0.12);
}

.area-dot--green {
  background: var(--green);
  box-shadow: 0 0 0 0.35rem rgba(21, 83, 52, 0.12);
}

.area-dot--charcoal {
  background: var(--charcoal);
  box-shadow: 0 0 0 0.35rem rgba(38, 41, 48, 0.12);
}

.area-dot--navy {
  background: var(--navy);
  box-shadow: 0 0 0 0.35rem rgba(31, 42, 68, 0.12);
}

.area-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.area-subheading {
  margin: 2rem 0 1rem;
  color: var(--navy);
}

.area-grid {
  display: grid;
  gap: 0.9rem;
}

.area-card {
  min-width: 0;
  padding: 1.15rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.area-card h3 {
  margin-bottom: 0.45rem;
  color: var(--navy);
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.area-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Legal and error pages */
.legal-wrap {
  display: grid;
  gap: 2.4rem;
}

.legal-wrap h2 {
  margin-bottom: 0.75rem;
  color: var(--navy);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
}

.legal-wrap p,
.legal-wrap li {
  color: var(--muted);
}

.legal-wrap ul {
  padding-left: 1.25rem;
}

.policy-note {
  padding: 1rem 1.15rem;
  color: var(--muted);
  background: var(--mist);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
}

.error-page {
  display: grid;
  min-height: calc(100svh - var(--header-height));
  padding-block: 4rem;
  place-items: center;
  text-align: center;
}

.error-card {
  max-width: 42rem;
}

.error-code {
  display: block;
  color: var(--orange-deep);
  font-size: clamp(4.5rem, 18vw, 9rem);
  font-weight: 850;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.error-card h1 {
  margin: 1rem 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.error-card p {
  margin: 0 auto 1.5rem;
  color: var(--muted);
}

.error-card .button-row {
  justify-content: center;
}

/* Footer */
.site-footer {
  color: #c9d1de;
  background: var(--navy-deep);
  border-top: 4px solid var(--orange);
}

.footer-grid {
  display: grid;
  padding-block: clamp(3rem, 6vw, 4.5rem);
  gap: 2rem;
}

.footer-brand img {
  width: auto;
  height: clamp(5.25rem, 8vw, 6.75rem);
  margin-bottom: 1rem;
}

.footer-brand h2,
.footer-column h2 {
  margin-bottom: 0.75rem;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0;
}

.footer-brand p {
  margin-bottom: 0;
  color: #aeb8c8;
  font-size: 0.83rem;
}

.footer-contact-link {
  display: inline-flex;
  min-height: 2.75rem;
  margin-top: 0.75rem;
  align-items: center;
  color: #c8e2d1;
  font-size: 0.87rem;
  font-weight: 750;
  text-decoration: none;
}

.footer-contact-link:hover {
  color: var(--white);
}

.footer-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: #c9d1de;
  font-size: 0.87rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--orange-soft);
}

.footer-bottom {
  padding-block: 1.1rem;
  color: #909bad;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.77rem;
}

.footer-bottom .container {
  display: flex;
  padding-right: 4.75rem;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

.footer-bottom a {
  color: #c9d1de;
}

.whatsapp-float {
  position: fixed;
  z-index: 80;
  right: calc(1rem + env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  display: grid;
  width: 3.8rem;
  height: 3.8rem;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(8, 38, 23, 0.34);
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.whatsapp-float:hover {
  color: var(--white);
  background: #0c3922;
  box-shadow: 0 16px 34px rgba(8, 38, 23, 0.4);
  transform: translateY(-3px);
}

.whatsapp-float svg {
  width: 2rem;
  height: 2rem;
}

@media (min-width: 36rem) {
  .course-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .contact-list li {
    grid-template-columns: 7.5rem minmax(0, 1fr);
    align-items: baseline;
    gap: 1rem;
  }
}

@media (min-width: 48rem) {
  .container {
    width: min(100% - 3rem, 74rem);
  }

  .container--narrow {
    width: min(100% - 3rem, 52rem);
  }

  .news-grid,
  .document-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .service-card--wide {
    grid-column: 1 / -1;
  }

  .process-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .process-list::before {
    position: absolute;
    z-index: 0;
    top: 2.55rem;
    right: 7%;
    left: 7%;
    height: 2px;
    background: var(--line);
    content: "";
  }

  .process-step {
    padding: 1.25rem 1rem;
  }

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

  .footer-grid {
    grid-template-columns: 1.3fr repeat(3, minmax(8rem, 0.7fr));
  }
}

@media (min-width: 62.5rem) {
  .menu-toggle,
  .menu-close,
  .menu-meta {
    display: none;
  }

  .site-menu-panel {
    position: static;
    display: block;
    width: auto;
    height: auto;
    padding: 0;
    color: inherit;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .site-menu {
    flex-direction: row;
    align-items: center;
    gap: clamp(0.25rem, 1.25vw, 1rem);
  }

  .site-menu a {
    position: relative;
    min-height: 2.75rem;
    padding-inline: 0.35rem;
    border-bottom: 0;
    font-size: clamp(0.78rem, 0.9vw, 0.91rem);
    white-space: nowrap;
  }

  .site-menu a::after {
    position: absolute;
    right: 0.35rem;
    bottom: 0.35rem;
    left: 0.35rem;
    height: 2px;
    background: var(--orange-soft);
    border-radius: 99px;
    content: "";
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-menu a:hover::after,
  .site-menu a[aria-current]::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(23rem, 0.92fr);
  }

  .news-card:nth-child(2) {
    transform: translateY(1.25rem);
  }

  .news-card:nth-child(2):hover {
    transform: translateY(1rem);
  }

  .avvalia-panel__content {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .training-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(19rem, 0.65fr);
  }

  .training-photo {
    position: sticky;
    top: calc(var(--header-offset) + 1.5rem);
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  }

  .pillar-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 25rem) {
  :root {
    --header-height: 5.4rem;
  }

  .site-brand img {
    height: 4.1rem;
  }

  .whatsapp-float {
    right: calc(0.75rem + env(safe-area-inset-right));
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    width: 3.5rem;
    height: 3.5rem;
  }

  .header-cta {
    display: none;
  }

  .hero-note {
    position: static;
    max-width: none;
    margin-top: 0.75rem;
  }

  .stage-heading h3 {
    font-size: 1.08rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .page-nav,
  .skip-link,
  .button-row,
  .cta-panel {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .page-hero {
    padding-block: 1rem;
    color: #000;
    background: #fff;
  }

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