/*
Theme Name: Kreso Clinic
Theme URI: http://kreso.local
Author: Marin + Codex
Author URI: http://kreso.local
Description: Custom WordPress theme for Krešimir Kožul, fizioterapeut i kiropraktički pristup u Širokom Brijegu.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kreso-clinic
*/

:root {
  --navy-950: oklch(14% 0.045 252);
  --navy-900: oklch(18% 0.055 252);
  --navy-850: oklch(22% 0.06 252);
  --blue-500: oklch(55% 0.2 257);
  --blue-450: oklch(62% 0.19 255);
  --ink: oklch(20% 0.035 252);
  --muted: oklch(43% 0.035 252);
  --paper: oklch(99.8% 0.001 250);
  --paper-soft: oklch(97.4% 0.004 250);
  --white-soft: oklch(96% 0.008 250);
  --line-dark: oklch(34% 0.045 252 / 0.78);
  --line-light: oklch(86% 0.012 250);
  --max: 1320px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur-med: 280ms;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--navy-950);
  line-height: 1.48;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--blue-450);
  outline-offset: 3px;
}

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

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link:focus {
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  margin: 10px;
  padding: 10px 14px;
  background: var(--white-soft);
  color: var(--navy-950);
  border-radius: 5px;
  z-index: 100;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background:
    linear-gradient(90deg, oklch(13% 0.045 252 / 0.96), oklch(18% 0.055 252 / 0.94)),
    var(--navy-950);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(14px);
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 76px;
  padding: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 46px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white-soft);
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 550;
  letter-spacing: 0;
}

.menu-toggle {
  border: 1px solid var(--line-dark);
  background: oklch(22% 0.055 252 / 0.8);
  color: var(--white-soft);
  font: inherit;
  padding: 0.6rem 0.78rem;
  border-radius: 7px;
  cursor: pointer;
  display: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 54px);
}

.site-nav a {
  color: oklch(86% 0.012 250);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 570;
  transition: color var(--dur-fast) var(--ease-out);
}

.site-nav .current-menu-item > a {
  color: var(--blue-450);
}

@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover {
    color: var(--blue-450);
  }
}

.header-phone {
  color: var(--blue-450);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.header-phone span {
  color: var(--white-soft);
  font-size: 0.6rem;
  margin-right: 10px;
}

.btn,
button.btn,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 60px;
  padding: 0 34px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--dur-fast) var(--ease-out),
    background-color var(--dur-med) var(--ease-out),
    border-color var(--dur-med) var(--ease-out),
    color var(--dur-med) var(--ease-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-450), oklch(48% 0.22 258));
  color: var(--white-soft);
  border-color: oklch(56% 0.19 256);
  box-shadow: 0 22px 45px oklch(12% 0.05 252 / 0.36);
}

.btn-secondary {
  background: transparent;
  color: var(--white-soft);
  border-color: var(--line-dark);
}

.btn-contrast {
  background: var(--white-soft);
  color: var(--navy-900);
  border-color: var(--white-soft);
  box-shadow: none;
}

.btn-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff !important;
  border-color: #25d366;
  box-shadow: 0 14px 30px oklch(20% 0.08 150 / 0.35);
}

.btn-whatsapp:hover {
  background: #1ebe57;
  border-color: #1ebe57;
  color: #fff !important;
}

.btn-whatsapp .btn-icon,
.btn-whatsapp .btn-icon svg {
  color: #fff !important;
  fill: currentColor;
}

.btn-call {
  background: oklch(16% 0.045 252);
  color: var(--white-soft) !important;
  border-color: oklch(66% 0.06 252 / 0.36);
}

.btn-call:hover {
  border-color: oklch(76% 0.05 252 / 0.62);
  color: var(--white-soft) !important;
}

.btn-call .btn-icon,
.btn-call .btn-icon svg {
  color: var(--white-soft) !important;
  fill: currentColor;
}

.btn-instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d 55%, #fcb045);
  color: #fff !important;
  border-color: transparent;
}

.btn-instagram:hover {
  color: #fff !important;
  filter: brightness(1.04);
}

.btn-instagram .btn-icon,
.btn-instagram .btn-icon svg {
  color: #fff !important;
  fill: currentColor;
}

.text-link {
  color: var(--white-soft);
  display: inline-flex;
  align-items: center;
  min-height: 60px;
  border-bottom: 1px solid var(--blue-450);
  text-decoration: none;
  font-weight: 560;
}

.text-link.dark {
  color: var(--ink);
  min-height: auto;
}

.hero-section {
  max-width: none;
  min-height: clamp(720px, calc(100dvh - 76px), 860px);
  margin: 0 auto;
  padding: clamp(42px, 4.5vh, 60px) max(44px, calc((100vw - var(--max)) / 2)) 0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(500px, 620px) minmax(450px, 560px);
  grid-template-rows: 1fr auto;
  justify-content: center;
  column-gap: clamp(32px, 4vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 22%, oklch(34% 0.07 250 / 0.62), transparent 34%),
    radial-gradient(circle at 13% 4%, oklch(30% 0.08 254 / 0.7), transparent 30%),
    linear-gradient(135deg, var(--navy-950), var(--navy-900) 55%, var(--navy-950));
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(90deg, oklch(100% 0 0 / 0.04) 1px, transparent 1px),
    linear-gradient(0deg, oklch(100% 0 0 / 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0, transparent 82%);
}

.hero-text {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 800px;
  padding-bottom: clamp(26px, 4vh, 46px);
}

.hero-text h1 {
  margin: 0;
  color: var(--white-soft);
  font-family: "Aptos Display", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(3.35rem, 4.2vw, 5.65rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-text h1 span {
  color: var(--blue-450);
}

.hero-lead {
  max-width: 590px;
  margin: 24px 0 0;
  color: oklch(88% 0.02 250);
  font-size: 1.1rem;
}

.hero-lead strong {
  color: var(--blue-450);
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 42px;
}

.hero-portrait {
  position: relative;
  z-index: 1;
  align-self: end;
  min-height: clamp(540px, 62vh, 700px);
}

.hero-portrait::before {
  content: "";
  position: absolute;
  right: 10%;
  bottom: 0;
  width: 68%;
  height: 72%;
  background: radial-gradient(ellipse, oklch(32% 0.08 250 / 0.72), transparent 70%);
  filter: blur(26px);
}

.hero-portrait img {
  position: absolute;
  right: clamp(-90px, -5vw, -44px);
  bottom: clamp(-122px, -6vw, -88px);
  width: min(930px, 48vw);
  max-width: none;
  filter: drop-shadow(0 36px 40px oklch(8% 0.05 252 / 0.34));
}

.hero-profession {
  position: absolute;
  z-index: 2;
  top: 33%;
  right: clamp(-2px, 1.4vw, 34px);
  color: oklch(89% 0.018 250);
  padding-left: 16px;
  border-left: 2px solid var(--blue-450);
  font-size: 0.98rem;
  line-height: 1.35;
  text-shadow: 0 2px 14px oklch(8% 0.04 252 / 0.72);
}

.hero-facts {
  position: relative;
  z-index: 3;
  grid-column: 1 / -1;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-dark);
  background: oklch(13% 0.045 252 / 0.76);
  backdrop-filter: blur(12px);
}

.hero-facts div {
  color: oklch(88% 0.01 250);
  min-height: 78px;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  font-weight: 620;
  border-right: 1px solid var(--line-dark);
}

.hero-facts div:last-child {
  border-right: 0;
}

.service-list-section,
.proof-section,
.about-section,
.blog-preview-section {
  background: var(--paper);
  padding: 58px max(44px, calc((100vw - var(--max)) / 2));
}

.service-list-section,
.process-section,
.proof-section,
.about-section,
.blog-preview-section,
.site-footer-inner,
.footer-bottom {
  max-width: none;
  margin: 0 auto;
}

.section-label,
.proof-heading,
.process-heading {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: 28px;
}

.section-label h2,
.proof-heading h2,
.process-heading h2,
.about-title h2,
.footer-cta h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Aptos Display", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(2rem, 2.8vw, 3.35rem);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0;
}

.section-label::after,
.proof-heading::after,
.process-heading::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, var(--blue-450), transparent);
}

.service-list-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  background:
    radial-gradient(circle at 86% 12%, oklch(27% 0.055 252 / 0.62), transparent 32%),
    linear-gradient(135deg, oklch(11% 0.03 252), oklch(14% 0.04 252));
}

.service-list-section .section-label {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 48px;
}

.service-list-section .section-label::after {
  display: block;
  grid-column: 1;
  grid-row: 2;
  width: 120px;
  margin-top: 20px;
  background: var(--blue-450);
}

.service-list-section .section-label h2 {
  color: var(--white-soft);
  max-width: 11ch;
}

.service-list-section .section-label p {
  margin: 0;
  max-width: 42ch;
  color: oklch(79% 0.018 250);
  font-size: 1.08rem;
}

.service-rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 210px 1fr;
  gap: 0;
  min-height: 420px;
  color: var(--white-soft);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  overflow: hidden;
  background: oklch(16% 0.028 252);
  text-decoration: none;
  transition:
    transform var(--dur-med) var(--ease-out),
    border-color var(--dur-med) var(--ease-out),
    background-color var(--dur-med) var(--ease-out);
}

.service-row img {
  grid-column: 1 / -1;
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: 20% center;
  border-radius: 0;
  background: var(--navy-900);
  filter: grayscale(0.88) saturate(0.52) contrast(1.08) brightness(0.72);
  transition: filter var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}

.service-row span {
  padding: 30px 30px 28px;
}

.service-row strong,
.service-row small,
.service-row b {
  display: block;
}

.service-row strong {
  font-size: 1.55rem;
  font-weight: 850;
}

.service-row small {
  max-width: 32ch;
  color: oklch(79% 0.014 250);
  font-size: 1.02rem;
  margin-top: 18px;
}

.service-row b {
  width: fit-content;
  margin: 26px 8px 0 0;
  padding: 4px 11px;
  float: left;
  border-radius: 999px;
  background: oklch(24% 0.025 252);
  color: oklch(88% 0.035 255);
  font-size: 0.78rem;
  font-weight: 680;
}

.service-row em {
  align-self: start;
  justify-self: end;
  padding: 31px 30px 0 0;
  color: oklch(78% 0.11 255);
  font-size: 2rem;
  font-style: normal;
  transform: rotate(-35deg);
  transition: transform var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out);
}

.service-row:hover {
  transform: translateY(-6px);
  border-color: oklch(56% 0.12 255 / 0.82);
  background: oklch(18% 0.035 252);
}

.service-row:hover img {
  filter: grayscale(0.55) saturate(0.75) contrast(1.12) brightness(0.84);
  transform: scale(1.035);
}

.service-row:hover em {
  color: var(--blue-450);
  transform: translate(5px, -5px) rotate(-35deg);
}

@media (hover: hover) and (pointer: fine) {
  .post-card:hover {
    transform: translateY(-3px);
    border-color: oklch(66% 0.12 254);
  }

  .post-card:hover .post-card-media img {
    transform: scale(1.035);
  }
}

.process-section {
  padding: 58px max(44px, calc((100vw - var(--max)) / 2)) 72px;
  background:
    radial-gradient(circle at 84% 44%, oklch(28% 0.065 252 / 0.65), transparent 33%),
    linear-gradient(135deg, var(--navy-950), var(--navy-900));
  color: var(--white-soft);
}

.process-heading {
  margin-bottom: 32px;
}

.process-heading h2 {
  color: var(--white-soft);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.92fr 0.98fr;
  gap: 50px;
  align-items: center;
}

.process-steps {
  position: relative;
  display: grid;
  gap: 0;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 91px;
  width: 1px;
  background: linear-gradient(var(--blue-450), oklch(62% 0.19 255 / 0.08));
}

.process-steps article {
  position: relative;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 36px;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line-dark);
}

.process-steps article + article {
  padding-top: 28px;
}

.process-steps article:last-child {
  border-bottom: 0;
}

.process-steps span {
  color: var(--blue-450);
  font-family: "Aptos Display", "Segoe UI", system-ui, sans-serif;
  font-size: 2.45rem;
  font-weight: 900;
}

.process-steps h3,
.process-steps p {
  margin: 0;
}

.process-steps h3 {
  color: var(--white-soft);
  font-size: 1.26rem;
}

.process-steps p {
  color: oklch(78% 0.018 250);
  max-width: 26ch;
}

.process-images {
  display: grid;
  gap: 16px;
}

.process-images img {
  width: 100%;
  height: 115px;
  object-fit: cover;
  object-position: 20% center;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  filter: saturate(0.9) contrast(1.02);
}

.proof-section {
  border-top: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at 84% 18%, oklch(32% 0.07 252 / 0.7), transparent 34%),
    linear-gradient(135deg, var(--navy-950), var(--navy-900));
}

.proof-heading h2 {
  color: var(--white-soft);
}

.proof-heading::after {
  background: linear-gradient(90deg, var(--blue-450), oklch(70% 0.08 250 / 0.2), transparent);
}

.proof-layout {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.certificate-proof {
  margin: 0;
  min-height: 250px;
  border: 1px solid var(--line-light);
  border-radius: 5px;
  overflow: hidden;
  padding: 34px;
  background:
    linear-gradient(135deg, oklch(98% 0.012 82), oklch(91% 0.03 80)),
    var(--paper);
  display: grid;
  align-content: center;
  position: relative;
}

.certificate-proof::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid oklch(72% 0.035 82);
  pointer-events: none;
}

.certificate-proof span {
  color: var(--blue-500);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.certificate-proof strong {
  display: block;
  margin-top: 18px;
  max-width: 12ch;
  color: var(--ink);
  font-size: clamp(1.75rem, 2.5vw, 2.55rem);
  line-height: 1.02;
}

.certificate-proof p {
  margin: 22px 0 0;
  color: var(--ink);
  font-weight: 720;
}

.certificate-proof small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.message-proof {
  padding: 34px 28px;
  background:
    radial-gradient(circle at 100% 0, oklch(94% 0.03 95), transparent 42%),
    oklch(93% 0.025 83);
}

.message-proof p {
  width: fit-content;
  max-width: 92%;
  margin: 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: oklch(98% 0.01 80);
  color: var(--ink);
  font-size: 1.1rem;
}

.message-proof span {
  display: block;
  margin: 6px 8px 18px;
  color: var(--muted);
  font-size: 0.8rem;
}

.message-proof .message-reply {
  margin-left: auto;
  background: oklch(85% 0.075 145);
}

.trust-proof {
  padding: 22px;
  background: var(--navy-900);
  border-color: var(--line-dark);
  color: var(--white-soft);
}

.trust-proof p {
  margin: 0 0 18px;
  color: var(--white-soft);
  font-weight: 700;
}

.trust-proof ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.trust-proof li {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line-dark);
  border-radius: 5px;
  background: oklch(15% 0.045 252);
  color: oklch(84% 0.014 250);
}

.trust-proof a {
  min-height: 56px;
  margin-top: 18px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white-soft);
  text-decoration: none;
  background: oklch(16% 0.045 252);
  border: 1px solid var(--line-dark);
  border-radius: 5px;
}

.proof-note {
  margin: 18px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 120px);
  align-items: start;
  border-top: 1px solid var(--line-light);
}

.about-title {
  display: flex;
  align-items: center;
  min-height: 100%;
}

.about-title h2 {
  position: static;
  font-size: clamp(2.6rem, 4vw, 4.9rem);
  max-width: 6.5ch;
}

.about-title h2::after {
  content: "";
  display: block;
  width: 78px;
  height: 1px;
  margin-top: 24px;
  background: var(--blue-450);
}

.about-story {
  max-width: 760px;
  padding-top: 10px;
}

.about-kicker {
  margin: 0 0 22px;
  color: var(--blue-500);
  font-weight: 820;
}

.about-story p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.3vw, 1.36rem);
  line-height: 1.62;
}

.about-story p:nth-of-type(2) {
  color: var(--ink);
  font-size: clamp(1.28rem, 1.55vw, 1.62rem);
  line-height: 1.5;
}

.about-signature {
  margin-top: 18px;
  width: clamp(170px, 22vw, 300px);
  height: auto;
  object-fit: contain;
  filter: contrast(1.08) saturate(0.9);
}

.about-story a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--blue-500);
  font-weight: 650;
  text-decoration: none;
}

.blog-preview-section {
  padding-top: 22px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.blog-preview-action {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.post-card {
  min-height: 230px;
  padding: 26px;
  display: block;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line-light);
  background: var(--paper);
  border-radius: 5px;
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.post-card-media {
  margin: -26px -26px 18px;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: oklch(92% 0.01 250);
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--dur-med) var(--ease-out);
}

.post-meta {
  margin: 0 0 22px;
  color: var(--blue-500);
  font-size: 0.86rem;
  font-weight: 820;
}

.post-card h3 {
  margin: 0 0 14px;
  font-size: 1.36rem;
  line-height: 1.15;
}

.post-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.hero-tag {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--blue-450);
  font-size: 0.86rem;
  font-weight: 840;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.editorial-hero {
  min-height: 420px;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
}

.editorial-hero__inner {
  position: relative;
  z-index: 1;
}

.editorial-hero__inner--about {
  min-height: 500px;
  padding-right: min(420px, 35vw);
}

.about-page-portrait {
  position: absolute;
  right: -14px;
  left: auto;
  bottom: -46px;
  margin: 0;
  width: min(563px, 45vw);
  transform: none;
  pointer-events: none;
}

.about-page-portrait img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 26px 34px oklch(8% 0.05 252 / 0.35));
}

.editorial-hero__actions {
  margin-top: 28px;
}

.blog-filter {
  margin-top: 28px;
}

.blog-filter__item {
  color: var(--white-soft);
  background: oklch(18% 0.052 252);
  border-color: var(--line-dark);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section--blog-index,
.section--archive,
.section--not-found {
  background: var(--paper);
}

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

.editorial-post-card--featured {
  grid-column: span 2;
  min-height: 320px;
  background:
    radial-gradient(circle at 100% 0, oklch(58% 0.16 257 / 0.18), transparent 42%),
    var(--navy-900);
  color: var(--white-soft);
  border-color: var(--line-dark);
}

.editorial-post-card--featured h3,
.editorial-post-card--featured p:last-child {
  color: var(--white-soft);
}

.editorial-post-card--featured .post-card-media {
  background: oklch(20% 0.03 252);
}

.pagination-wrap {
  margin-top: 28px;
}

.pagination-wrap .nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination-wrap a,
.pagination-wrap span {
  min-width: 42px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line-light);
  border-radius: 5px;
  background: oklch(97% 0.012 78);
}

.pagination-wrap .current {
  color: var(--white-soft);
  background: var(--blue-500);
  border-color: var(--blue-500);
}

.panel {
  padding: 28px;
  border: 1px solid var(--line-light);
  background: oklch(97% 0.012 78);
  border-radius: 5px;
}

.contact-trust-note,
.editorial-empty {
  margin-top: 32px;
}

.caution-box {
  border: 1px solid oklch(74% 0.06 75);
  background: oklch(93% 0.035 78);
  color: oklch(34% 0.05 72);
  padding: 22px;
  border-radius: 5px;
}

.caution-box p {
  margin: 8px 0 0;
  color: inherit;
}

.article-note {
  margin-top: 28px;
}

.single-hero__category {
  display: inline-flex;
  margin-bottom: 20px;
  text-decoration: none;
}

.single-hero__excerpt {
  color: oklch(82% 0.02 250);
  max-width: 72ch;
  font-size: 1.14rem;
}

.editorial-post-navigation {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.post-navigation__item a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-soft);
  text-decoration: none;
  border: 1px solid var(--line-dark);
  border-radius: 5px;
  background: var(--navy-900);
}

.not-found-layout {
  min-height: 55vh;
  display: grid;
  place-items: center;
}

.not-found-card {
  max-width: 780px;
  padding: 44px;
  color: var(--white-soft);
  background: var(--navy-900);
  border: 1px solid var(--line-dark);
  border-radius: 6px;
}

.not-found-card h1 {
  margin: 0 0 16px;
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  line-height: 1;
}

.not-found-card p {
  color: oklch(82% 0.018 250);
}

.site-footer {
  background: var(--navy-950);
  color: var(--white-soft);
  border-top: 1px solid var(--line-dark);
}

.site-footer-inner,
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid {
  padding: 48px 0 34px;
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(190px, 0.8fr) minmax(260px, 0.9fr);
  gap: 42px;
  align-items: start;
}

.footer-brand-col,
.footer-links-col,
.footer-contact-col {
  min-width: 0;
}

.footer-brand-col .footer-brand {
  margin-bottom: 14px;
}

.footer-brand-copy,
.footer-contact-col p,
.footer-bottom {
  color: oklch(78% 0.018 250);
}

.footer-brand-copy {
  margin: 0;
  max-width: 42ch;
}

.footer-links-col h3,
.footer-contact-col h3 {
  margin: 4px 0 14px;
  font-size: 1.03rem;
  color: var(--white-soft);
}

.footer-links-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-links-col a {
  color: oklch(85% 0.018 250);
  text-decoration: none;
}

.footer-links-col a:hover {
  color: var(--blue-450);
}

.footer-contact-col p {
  margin: 0 0 8px;
}

.footer-contact-col a {
  color: var(--white-soft);
  text-decoration: none;
  font-weight: 700;
}

.footer-whatsapp,
.footer-instagram,
.footer-call {
  margin-top: 16px;
  width: fit-content;
}

.footer-bottom-bar {
  padding: 16px 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.9rem;
}

.footer-bottom-bar a {
  color: oklch(82% 0.02 250);
  text-decoration: none;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: oklch(78% 0.018 250);
  text-decoration: none;
  font-weight: 560;
}

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

.footer-brand span {
  color: inherit;
  margin-left: 0;
}

.mobile-fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: none;
  gap: 10px;
  padding: 10px;
  background: oklch(13% 0.045 252 / 0.96);
  border-top: 1px solid var(--line-dark);
}

.mobile-fixed-cta .btn {
  flex: 1;
  min-height: 48px;
}

.page-hero,
.single-wrap {
  background:
    radial-gradient(circle at 80% 16%, oklch(31% 0.07 250 / 0.58), transparent 34%),
    linear-gradient(135deg, var(--navy-950), var(--navy-900));
  color: var(--white-soft);
}

.page-hero {
  padding: 78px 44px 46px;
}

.page-hero--about {
  padding-bottom: 0;
}

.page-hero-inner,
.content-wrap,
.single-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.page-hero h1,
.single-wrap h1 {
  margin: 0 0 18px;
  font-family: "Aptos Display", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(3rem, 5.4vw, 5.8rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.page-hero p,
.single-wrap .entry-meta {
  color: oklch(80% 0.02 250);
  max-width: 68ch;
}

.content-wrap,
.section {
  padding: 54px 44px;
  background: var(--paper);
}

.content-wrap h2,
.content-wrap h3,
.single-wrap h2,
.single-wrap h3 {
  margin: 2.2rem 0 0.9rem;
  color: var(--ink);
  line-height: 1.12;
}

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

.content-wrap a,
.single-wrap a {
  color: var(--blue-500);
}

.about-landing {
  display: grid;
  gap: 28px;
}

.about-landing-intro p {
  max-width: 78ch;
}

.about-landing-edu-blog {
  margin-top: 8px;
}

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

.services-landing {
  display: grid;
  gap: 26px;
}

.services-landing-intro p {
  max-width: 80ch;
}

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

.service-detail-card {
  border: 1px solid var(--line-light);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
}

.service-detail-card img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.service-detail-body {
  padding: 22px;
}

.service-detail-body h3 {
  margin: 0 0 12px;
}

.service-detail-body p {
  margin: 0 0 16px;
}

.service-detail-body ul {
  margin: 0 0 18px;
  padding-left: 1.1rem;
}

.service-detail-body li + li {
  margin-top: 8px;
}

.services-landing-note {
  margin-top: 4px;
}

.services-landing-note h3 {
  margin-top: 0;
}

.contact-landing {
  display: grid;
  gap: 24px;
}

.contact-landing-intro p {
  max-width: 78ch;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.contact-card {
  padding: 26px;
}

.contact-card h3 {
  margin: 0 0 14px;
}

.contact-card p {
  margin: 0 0 12px;
}

.contact-card .contact-line {
  display: grid;
  gap: 6px;
}

.contact-card .contact-line a {
  font-size: 1.24rem;
  font-weight: 760;
  text-decoration: none;
  color: var(--ink);
}

.contact-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-instagram {
  margin-top: 10px;
}

.contact-card--primary {
  background:
    radial-gradient(circle at 100% 0, oklch(58% 0.16 257 / 0.1), transparent 42%),
    oklch(97% 0.012 78);
}

.single-wrap {
  padding: 72px 44px;
}

.single-wrap--editorial {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 72px 44px;
}

.single-inner {
  max-width: 980px;
  margin: 0 auto;
}

.single-wrap .entry-content {
  margin-top: 36px;
  padding: 36px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 5px;
}

.single-featured-media {
  margin: 26px 0 0;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid var(--line-dark);
  background: oklch(20% 0.03 252);
}

.single-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta-band {
  margin-top: 34px;
  padding: 32px;
  background: var(--navy-900);
  color: var(--white-soft);
  border: 1px solid var(--line-dark);
  border-radius: 5px;
}

.cta-band h2 {
  color: var(--white-soft);
  margin-top: 0;
}

.cta-band p {
  color: var(--white-soft);
}

.cta-band .hero-actions {
  gap: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line-light);
  background: oklch(97% 0.012 78);
  border-radius: 5px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 780;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 20px 18px;
}

.city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.city-pill {
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--paper);
}

.navigation.pagination {
  margin-top: 28px;
}

@media (max-width: 1120px) {
  .site-header-inner {
    grid-template-columns: auto auto 1fr;
    gap: 24px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    grid-column: 1 / -1;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      max-height 360ms var(--ease-out),
      opacity var(--dur-fast) var(--ease-out),
      transform var(--dur-fast) var(--ease-out);
  }

  .site-nav.is-open {
    max-height: 28rem;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    border-top: 1px solid var(--line-dark);
    padding: 22px 0 26px;
  }

  .site-nav ul {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding-bottom: 8px;
  }

  .site-nav a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-portrait {
    min-height: 520px;
  }

  .hero-portrait img {
    right: 4%;
    bottom: 0;
    width: min(620px, 90vw);
  }

  .service-list-section,
  .process-grid,
  .proof-layout,
  .about-section,
  .post-grid,
  .site-footer-inner,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    padding: 38px 0 28px;
    gap: 28px;
  }

  .footer-bottom-bar {
    gap: 8px;
  }

  .section-label,
  .proof-heading,
  .process-heading {
    grid-template-columns: 1fr;
  }

  .editorial-post-card--featured {
    grid-column: span 1;
  }

  .about-landing-edu-grid {
    grid-template-columns: 1fr;
  }

  .services-detail-grid {
    grid-template-columns: 1fr;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .editorial-hero__inner--about {
    min-height: 0;
    padding-right: 0;
  }

  .about-page-portrait {
    position: static;
    width: min(405px, 88vw);
    margin: 24px 0 0 auto;
  }

}

@media (max-width: 760px) {
  body.has-mobile-cta {
    padding-bottom: 68px;
  }

  .site-header-inner,
  .hero-section,
  .service-list-section,
  .process-section,
  .proof-section,
  .about-section,
  .blog-preview-section,
  .site-footer-inner,
  .footer-bottom,
  .page-hero,
  .content-wrap,
  .single-wrap,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-header-inner {
    min-height: 86px;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding-top: 18px;
    padding-bottom: 0;
  }

  .brand,
  .menu-toggle {
    align-self: center;
  }

  .header-phone {
    display: none;
  }

  .hero-section {
    padding-top: 44px;
  }

  .hero-text h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .hero-actions {
    gap: 18px;
  }

  .text-link {
    min-height: 44px;
  }

  .hero-portrait {
    min-height: 470px;
  }

  .hero-portrait img {
    left: 47%;
    right: auto;
    bottom: 0;
    width: clamp(420px, 118vw, 560px);
    transform: translateX(-50%);
  }

  .hero-profession {
    top: 0%;
    right: -10px;
    max-width: 150px;
    font-size: 0.95rem;
    color: var(--white-soft);
    background: oklch(13% 0.045 252 / 0.5);
    padding: 6px 0 6px 14px;
  }

  .about-page-portrait {
    width: min(446px, 97vw);
    margin: 24px auto 0 0;
    transform: translateX(-4%);
  }

  .hero-facts,
  .service-row {
    grid-template-columns: 1fr;
  }

  .service-list-section .section-label {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-list-section .section-label h2 {
    max-width: 100%;
  }

  .service-list-section .section-label p {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .service-rows {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-facts div {
    min-height: 64px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .service-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: 180px 1fr;
    min-height: 0;
    gap: 0;
    position: relative;
    padding-right: 0;
  }

  .service-row span {
    padding: 24px 24px 26px;
  }

  .service-row img {
    grid-column: 1 / -1;
    width: 100%;
    height: 180px;
    filter: none;
    transform: none;
  }

  .service-row em {
    position: static;
    align-self: start;
    justify-self: end;
    padding: 22px 24px 0 0;
    display: inline-block;
    font-size: 2rem;
  }

  .service-row small {
    max-width: 28ch;
  }

  .service-row b {
    margin-top: 18px;
  }

  .process-steps::before {
    left: 60px;
  }

  .process-steps article {
    grid-template-columns: 52px 1fr;
    gap: 24px;
  }

  .mobile-fixed-cta {
    display: flex;
  }
}

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

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