:root {
  --background: oklch(97.5% 0.008 80);
  --foreground: oklch(22% 0.015 160);
  --card: oklch(99.5% 0.004 80);
  --primary: oklch(32% 0.04 165);
  --primary-foreground: oklch(97% 0.01 80);
  --secondary: oklch(93% 0.015 80);
  --muted-foreground: oklch(50% 0.02 150);
  --accent: oklch(72% 0.11 75);
  --accent-foreground: oklch(20% 0.02 160);
  --border: oklch(88% 0.015 80);
  --ring: oklch(72% 0.11 75);
  --whatsapp: oklch(68% 0.17 150);
  --whatsapp-foreground: oklch(99% 0 0);
  --ink: oklch(20% 0.02 165);
  --ink-foreground: oklch(95% 0.01 80);
  --destructive: oklch(57.7% 0.245 27.325);
  --shadow-soft: 0 20px 50px -25px rgb(28 48 40 / 45%);
  --gradient-hero: linear-gradient(90deg, rgb(22 32 28 / 88%) 0%, rgb(22 32 28 / 55%) 55%, transparent 100%);
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --header-h: 4rem;
}

@supports (color: color-mix(in lab, red, red)) {
  :root {
    --shadow-soft: 0 20px 50px -25px color-mix(in oklab, var(--primary) 45%, transparent);
    --gradient-hero: linear-gradient(
      90deg,
      color-mix(in oklab, var(--ink) 88%, transparent) 0%,
      color-mix(in oklab, var(--ink) 55%, transparent) 55%,
      transparent 100%
    );
  }
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

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

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

h1,
h2,
h3,
.font-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-weight: 600;
}

p {
  margin: 0;
}

.container {
  width: min(72rem, 100%);
  margin-inline: auto;
  padding-inline: 1rem;
}

.muted {
  color: var(--muted-foreground);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: rgb(250 247 242 / 90%);
  backdrop-filter: blur(12px);
}

@supports (color: color-mix(in lab, red, red)) {
  .site-header {
    background: color-mix(in oklab, var(--background) 90%, transparent);
  }
}

.bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--primary);
  white-space: nowrap;
}

.logo span,
.footer-logo span {
  color: var(--accent);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--foreground);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wa-chip,
.wa-btn,
.btn-primary,
.btn-ghost,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: filter 0.15s ease, background-color 0.15s ease;
}

.wa-chip,
.wa-btn {
  background: var(--whatsapp);
  color: var(--whatsapp-foreground);
}

.wa-chip:hover,
.wa-btn:hover,
.btn-primary:hover {
  filter: brightness(1.1);
}

.wa-chip {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.wa-chip .label {
  display: none;
}

.wa-btn {
  padding: 0.75rem 1.5rem;
}

.wa-btn.lg {
  font-size: 1.125rem;
}

.btn-ghost {
  border: 1px solid rgb(245 240 230 / 40%);
  padding: 0.75rem 1.5rem;
  color: var(--ink-foreground);
}

.btn-ghost:hover {
  background: rgb(245 240 230 / 10%);
}

@supports (color: color-mix(in lab, red, red)) {
  .btn-ghost {
    border-color: color-mix(in oklab, var(--ink-foreground) 40%, transparent);
  }

  .btn-ghost:hover {
    background: color-mix(in oklab, var(--ink-foreground) 10%, transparent);
  }
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border: 0;
}

.btn-primary.lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: default;
  filter: none;
}

.btn-outline {
  border: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  background: transparent;
}

.pulse {
  animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(52 168 83 / 60%);
  }
  100% {
    box-shadow: 0 0 0 18px transparent;
  }
}

@supports (color: color-mix(in lab, red, red)) {
  @keyframes wa-pulse {
    0% {
      box-shadow: 0 0 0 0 color-mix(in oklab, var(--whatsapp) 60%, transparent);
    }
    100% {
      box-shadow: 0 0 0 18px transparent;
    }
  }
}

.menu-btn {
  display: inline-flex;
  padding: 0.5rem;
  color: var(--foreground);
}

.mobile-nav {
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem;
}

.mobile-nav a {
  display: block;
  padding: 0.5rem 0;
  font-weight: 500;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}

.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.5rem; height: 1.5rem; }
.icon-lg { width: 1.75rem; height: 1.75rem; }
.icon-xl { width: 2rem; height: 2rem; }

.hero {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
  color: var(--ink-foreground);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-inner {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 5rem;
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow.row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
}

.hero h1 {
  max-width: 42rem;
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.25;
}

.hero-lead {
  max-width: 36rem;
  margin-top: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.55;
  opacity: 0.85;
}

.hero-actions,
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions {
  margin-top: 2rem;
}

.section {
  padding-block: 4rem;
}

.section-title {
  margin: 0;
  font-size: 1.875rem;
  line-height: 1.2;
}

.page-title {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.11;
}

.lede {
  margin-top: 1rem;
  max-width: 42rem;
  color: var(--muted-foreground);
}

.trust-grid,
.services-grid,
.jobs-grid,
.projects-grid,
.contact-grid,
.split,
.video-grid {
  display: grid;
  gap: 1.5rem;
}

.trust-grid { gap: 1.5rem; }
.services-grid { gap: 1rem; margin-top: 2rem; }
.jobs-grid { gap: 1rem; margin-top: 2rem; }
.projects-grid { gap: 2.5rem; margin-top: 2.5rem; }
.contact-grid { gap: 1.5rem; margin-top: 2.5rem; }
.split { gap: 2.5rem; align-items: center; }
.video-grid { gap: 1.5rem; margin-top: 2rem; }

.band {
  background: var(--secondary);
}

.card,
.service-card,
.job-card,
.contact-card {
  background: var(--card);
  border-radius: 1rem;
}

.card,
.job-card,
.contact-card {
  border: 1px solid var(--border);
}

.card,
.service-card,
.job-card,
.contact-card {
  padding: 1.5rem;
}

.service-card.roomy {
  padding: 2rem;
}

.form-card {
  padding: 1.5rem;
}

.card h3,
.job-card h3 {
  margin: 1rem 0 0;
  font-size: 1.25rem;
  line-height: 1.4;
}

.job-card h3,
.service-card h3 {
  margin-top: 0;
  font-size: 1.125rem;
  line-height: 1.55;
}

.card p,
.service-card p,
.job-card p {
  margin-top: 0.5rem;
}

.job-card {
  display: flex;
  flex-direction: column;
}

.job-card p {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.45;
}

.job-card .btn-primary {
  margin-top: 1.25rem;
  align-self: flex-start;
}

a.service-card {
  transition: box-shadow 0.15s ease;
}

a.service-card:hover {
  box-shadow: var(--shadow-soft);
}

a.service-card p {
  font-size: 0.875rem;
  line-height: 1.45;
}

.service-block {
  border: 1px solid var(--border);
}

.service-block p {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
}

.service-card .arrow {
  margin-top: 1rem;
  color: var(--accent);
  transition: transform 0.15s ease;
}

.service-card:hover .arrow {
  transform: translateX(0.25rem);
}

.accent {
  color: var(--accent);
}

.jobs-head p.muted {
  margin-top: 0.75rem;
  max-width: 36rem;
}

.jobs-head h2 {
  margin: 0.5rem 0 0;
}

.compare {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  user-select: none;
}

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

.compare-after,
.compare-clip {
  position: absolute;
  inset: 0;
}

.compare-clip {
  clip-path: inset(0 50% 0 0);
}

.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--card);
  pointer-events: none;
}

.compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: var(--card);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.tag {
  position: absolute;
  top: 0.75rem;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.tag-before {
  left: 0.75rem;
  background: rgb(22 32 28 / 80%);
  color: var(--ink-foreground);
}

.tag-after {
  right: 0.75rem;
  background: var(--accent);
  color: var(--accent-foreground);
}

.compare input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.compare-copy h2 {
  margin: 0;
}

.compare-copy p {
  margin-top: 1rem;
}

.text-link {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary);
}

.ink {
  background: var(--ink);
  color: var(--ink-foreground);
}

.ink .section-title {
  margin: 0;
}

.ink .intro {
  margin-top: 0.75rem;
  opacity: 0.7;
}

.media {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.media.wide { aspect-ratio: 16 / 9; }
.media.still { aspect-ratio: 4 / 3; }

.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(22 32 28 / 30%);
}

@supports (color: color-mix(in lab, red, red)) {
  .tag-before {
    background: color-mix(in oklab, var(--ink) 80%, transparent);
  }

  .play-overlay {
    background: color-mix(in oklab, var(--ink) 30%, transparent);
  }
}

.play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: rgb(255 252 248 / 90%);
  color: var(--primary);
}

.play-btn svg {
  transform: translateX(2px);
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 0.75rem;
  font-weight: 500;
}

.cta {
  background: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta h2,
.highlight h2,
.success h2 {
  margin: 0;
}

.cta p {
  max-width: 36rem;
  opacity: 0.8;
}

.site-footer {
  background: var(--ink);
  color: var(--ink-foreground);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-block: 3rem;
}

.footer-logo {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.33;
}

.footer-grid p,
.footer-grid a {
  font-size: 0.875rem;
}

.footer-copy {
  margin-top: 0.75rem;
  opacity: 0.7;
}

.footer-grid h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
}

.areas {
  margin-top: 0.5rem;
  opacity: 0.7;
}

.area-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.area-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
}

.area-card h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.35;
}

.area-card p {
  margin-top: 0.5rem;
}

.seo-intro {
  margin-top: 0.75rem;
  max-width: 46rem;
}

@media (min-width: 768px) {
  .area-grid { grid-template-columns: 1fr 1fr; }
}

.footer-phone {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.8;
}

.footer-mail {
  margin-top: 0.25rem;
  opacity: 0.7;
}

.footer-bottom {
  margin: 0;
  border-top: 1px solid rgb(245 240 230 / 10%);
  padding: 1rem;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.5;
}

.float-wa {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: var(--whatsapp);
  color: var(--whatsapp-foreground);
  box-shadow: var(--shadow-soft);
}

.photo {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
}

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

.steps li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.step-no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: none;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-foreground);
  font-size: 0.875rem;
  font-weight: 700;
}

.service-block h2 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.33;
}

.service-block p {
  margin-top: 0.75rem;
}

.project-card h2 {
  margin: 1rem 0 0;
  font-size: 1.25rem;
  line-height: 1.4;
}

.project-card p {
  font-size: 0.875rem;
}

.kesif-layout {
  display: grid;
  gap: 3rem;
}

.kesif-copy h1 {
  margin: 0;
}

.kesif-copy .wa-btn {
  margin-top: 1.5rem;
}

.form-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.form {
  display: grid;
  gap: 1rem;
}

.form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
}

.form label.check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  cursor: pointer;
}

.form label.check input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

.success .wa-btn {
  margin-top: 1.25rem;
}

.field {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--card);
  outline: none;
}

.field:focus {
  box-shadow: 0 0 0 2px var(--ring);
}

textarea.field {
  resize: vertical;
}

.form-error {
  margin: 0;
  font-size: 0.875rem;
  color: var(--destructive);
}

.success {
  padding-block: 3rem;
  text-align: center;
}

.success svg {
  margin-inline: auto;
  color: var(--whatsapp);
}

.success h2 {
  margin-top: 1rem;
  font-size: 1.5rem;
  line-height: 1.33;
}

.success p {
  margin-top: 0.5rem;
}

.contact-card h2 {
  margin: 0.75rem 0 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.contact-card p {
  color: var(--muted-foreground);
}

.highlight {
  margin-top: 2.5rem;
  padding: 2rem;
  border-radius: 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
}

.highlight p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.33;
  letter-spacing: -0.02em;
}

.highlight .wa-btn {
  margin-top: 1.25rem;
}

.map {
  display: block;
  width: 100%;
  height: 20rem;
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.how {
  margin-top: 4rem;
}

@media (min-width: 640px) {
  .wa-chip .label { display: inline; }
  .services-grid,
  .jobs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  .desktop-nav { display: flex; }
  .menu-btn,
  .mobile-nav { display: none !important; }

  .hero h1 { font-size: 3.75rem; }
  .section-title { font-size: 2.25rem; line-height: 1.11; }
  .page-title { font-size: 3rem; line-height: 1; }

  .trust-grid,
  .footer-grid,
  .video-grid,
  .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .split,
  .compare-row { grid-template-columns: 1fr 1fr; }

  .video-grid .span-all { grid-column: 1 / -1; }

  .projects-grid { grid-template-columns: 1fr 1fr; }

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

  .kesif-layout { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .kesif-copy { grid-column: span 2; }
  .form-card { grid-column: span 3; padding: 2rem; }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .services-page { grid-template-columns: 1fr 1fr; }
  .jobs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .pulse { animation: none; }
  .service-card,
  .service-card .arrow,
  .nav-link,
  .wa-btn,
  .btn-primary { transition: none; }
}
