*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-950: #061b16;
  --green-900: #082820;
  --green-800: #0d3b31;
  --teal-700: #146057;
  --sage-300: #c4d2c1;
  --ivory-100: #f7f2e8;
  --ivory-200: #eee4d4;
  --stone-500: #7c7568;
  --stone-700: #3f433c;
  --brass-500: #c8a85f;
  --copper-500: #bf714f;
  --white: #ffffff;
  --wa: #25d366;
  --shadow-soft: 0 20px 60px rgba(6, 27, 22, 0.12);
  --shadow-deep: 0 24px 80px rgba(6, 27, 22, 0.24);
  --radius: 8px;
}

html {
  scroll-behavior: smooth;
  background: var(--ivory-100);
}

body {
  width: 100%;
  min-width: 0;
  max-width: 1920px;
  margin-inline: auto;
  overflow-x: hidden;
  background: var(--ivory-100);
  color: var(--green-950);
  font-family: "Inter", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(8, 40, 32, 0.12);
  background: rgba(247, 242, 232, 0.92);
  backdrop-filter: blur(14px);
}

.nav-logo,
.footer-logo {
  color: var(--green-950);
  font-family: "Sora", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo span,
.footer-logo span {
  color: var(--copper-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.5rem);
  list-style: none;
}

.nav-links a {
  color: var(--stone-700);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--teal-700);
}

.nav-actions,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.66rem 1.15rem;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green-900);
  color: var(--ivory-100);
}

.btn-primary:hover {
  background: var(--teal-700);
}

.btn-outline {
  border-color: rgba(8, 40, 32, 0.24);
  color: var(--green-900);
}

.btn-outline:hover {
  border-color: var(--teal-700);
  color: var(--teal-700);
}

.btn-whatsapp {
  background: var(--wa);
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #1ebe5d;
}

.btn-large {
  min-height: 48px;
  padding: 0.9rem 1.5rem;
  font-size: 0.95rem;
}

.wa-svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: currentColor;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  min-height: 82svh;
  padding: clamp(2.5rem, 4vh, 3.5rem) clamp(1.25rem, 5vw, 5rem)
    clamp(2.5rem, 5vh, 3rem);
  overflow: hidden;
  background: var(--ivory-100);
  gap: clamp(2rem, 5vw, 5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 56%;
  background:
    linear-gradient(135deg, rgba(6, 27, 22, 0.12), transparent 45%),
    var(--green-900);
  clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 56%;
  background-image:
    linear-gradient(rgba(247, 242, 232, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 242, 232, 0.1) 1px, transparent 1px);
  background-size: 3cm 3cm;
  background-position: 0 0;
  clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.42;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--copper-500);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
.section-title,
.price-panel h2,
.contact-panel h2,
.success-card h3 {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 1.05rem;
  font-size: clamp(2.35rem, 4.9vw, 4.65rem);
  line-height: 1.04;
}

.hero-sub {
  max-width: 560px;
  margin-bottom: 2rem;
  color: var(--stone-700);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.75;
}

.hero-intro {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  align-items: center;
  width: min(100%, 620px);
  min-height: auto;
  margin-left: auto;
  gap: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(247, 242, 232, 0.16);
  border-radius: var(--radius);
  padding: clamp(0.95rem, 1.6vw, 1.25rem);
  background:
    linear-gradient(135deg, rgba(247, 242, 232, 0.1), transparent 34%),
    linear-gradient(145deg, var(--teal-700), var(--green-950));
  box-shadow: 0 24px 70px rgba(6, 27, 22, 0.3);
}

.hero .hero-intro {
  transform: none;
  transform-origin: center right;
}

.hero-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(200, 168, 95, 0.3), transparent 1px) 0 0 / 1px
      100% no-repeat,
    radial-gradient(
      circle at 78% 12%,
      rgba(200, 168, 95, 0.12),
      transparent 34%
    );
  pointer-events: none;
}

.hero-intro::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  bottom: 1.15rem;
  width: min(210px, 42%);
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(200, 168, 95, 0.42),
    rgba(247, 242, 232, 0.18),
    transparent
  );
  opacity: 0.76;
  pointer-events: none;
}

.hero-portrait,
.hero-intro-card {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-portrait {
  align-self: center;
  justify-self: center;
  width: min(100%, 235px);
  aspect-ratio: 1063 / 1594;
  overflow: hidden;
  border: 1px solid rgba(247, 242, 232, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(247, 242, 232, 0.08), rgba(20, 96, 87, 0.22)),
    var(--green-950);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.hero-intro-card {
  width: 100%;
  justify-self: stretch;
  margin-left: 0;
  border-left: 1px solid rgba(200, 168, 95, 0.38);
  padding: clamp(0.45rem, 1vw, 0.75rem) 0 clamp(0.45rem, 1vw, 0.75rem)
    clamp(1rem, 2vw, 1.35rem);
}

.hero-intro-card .eyebrow {
  margin-bottom: 0.65rem;
  color: var(--brass-500);
}

.hero-intro-card h2 {
  margin-bottom: 0.85rem;
  color: var(--ivory-100);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.55rem, 2.15vw, 2.1rem);
  line-height: 1.08;
}

.hero-intro-card p:not(.eyebrow) {
  color: rgba(247, 242, 232, 0.78);
  font-size: 0.93rem;
  line-height: 1.66;
}

.hero-intro-points {
  display: grid;
  gap: 0.55rem;
  max-width: 440px;
  margin: 0 0 1.75rem;
}

.hero-intro-points span {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--green-800);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.35;
}

.hero-intro-points span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--brass-500);
  box-shadow: 0 0 0 4px rgba(200, 168, 95, 0.12);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid rgba(8, 40, 32, 0.12);
  background: var(--green-900);
  color: var(--ivory-100);
}

.proof-strip div {
  padding: 1.35rem clamp(1.2rem, 4vw, 3rem);
  border-right: 1px solid rgba(247, 242, 232, 0.14);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--brass-500);
  font-size: 0.98rem;
}

.proof-strip span {
  color: rgba(247, 242, 232, 0.72);
  font-size: 0.9rem;
  line-height: 1.55;
}

.section,
.work-inner,
.process-inner,
.conversion-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.section,
.work-section,
.process-section,
.conversion-section {
  scroll-margin-top: 5.5rem;
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 2.75rem;
}

.section-title {
  margin-bottom: 1rem;
  font-size: clamp(1.95rem, 3.6vw, 3.35rem);
  line-height: 1.08;
}

.section-sub {
  color: var(--stone-700);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-page {
  min-height: calc(100svh - 92px);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(4.5rem, 8vw, 7rem);
  background: var(--ivory-100);
}

.legal-hero,
.legal-content {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
}

.legal-hero-copy {
  max-width: 720px;
}

.legal-hero h1 {
  margin-bottom: 1rem;
  color: var(--green-950);
  font-family: "Sora", sans-serif;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.02;
}

.legal-hero p:not(.eyebrow) {
  max-width: 620px;
  color: var(--stone-700);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
  overflow-wrap: break-word;
}

.legal-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.legal-card {
  min-width: 0;
  border: 1px solid rgba(247, 242, 232, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(247, 242, 232, 0.07), transparent 42%),
    linear-gradient(145deg, var(--green-800), var(--green-950));
  color: var(--ivory-100);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 22px 70px rgba(6, 27, 22, 0.18);
}

.legal-card-primary {
  min-height: 320px;
  background:
    linear-gradient(145deg, rgba(20, 96, 87, 0.82), rgba(6, 27, 22, 0.9)),
    var(--green-900);
}

.legal-card-combined {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(1.2rem, 3vw, 2rem);
}

.legal-document-card {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: clamp(1.4rem, 3vw, 2rem);
  max-width: 960px;
  margin: 0 auto;
}

.legal-card-section {
  min-width: 0;
  border-left: 1px solid rgba(200, 168, 95, 0.3);
  padding-left: clamp(1rem, 2vw, 1.35rem);
}

.legal-card-section-main {
  border-left: 0;
  padding-left: 0;
}

.legal-card .status-pill {
  margin-bottom: 1.2rem;
}

.legal-card h2 {
  margin-bottom: 1rem;
  color: var(--ivory-100);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.12;
}

.legal-card h3 {
  margin-bottom: 1rem;
  color: var(--ivory-100);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  line-height: 1.14;
}

.legal-document-section {
  display: grid;
  min-width: 0;
  gap: 0.85rem;
  border-bottom: 1px solid rgba(200, 168, 95, 0.26);
  padding-bottom: clamp(1.35rem, 3vw, 2rem);
}

.legal-document-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-document-section h2 {
  margin-bottom: 0.2rem;
}

.legal-document-section h3 {
  margin: 0.65rem 0 0;
  color: var(--brass-500);
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.legal-card p {
  color: rgba(247, 242, 232, 0.76);
  line-height: 1.8;
  overflow-wrap: break-word;
}

.legal-card a {
  color: var(--ivory-100);
  font-weight: 800;
  text-decoration-color: rgba(200, 168, 95, 0.62);
  text-underline-offset: 0.22em;
  overflow-wrap: anywhere;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.reference-row,
.price-panel,
.contact-panel,
.step {
  border: 1px solid rgba(8, 40, 32, 0.12);
  border-radius: var(--radius);
}

.service-card {
  min-height: 300px;
  padding: 1.5rem;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(6, 27, 22, 0.06);
}

.mobile-accordion-toggle {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: left;
  cursor: default;
}

.service-mark,
.step-mark {
  display: inline-flex;
  margin-bottom: 1.5rem;
  color: var(--copper-500);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.mobile-accordion-title,
.reference-row h3,
.step h3 {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.25;
}

.service-card p,
.reference-row p,
.step p {
  color: var(--stone-700);
  font-size: 0.93rem;
  line-height: 1.68;
}

.work-section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: var(--green-950);
  color: var(--ivory-100);
}

.work-section .section-sub,
.work-section .reference-row p {
  color: rgba(247, 242, 232, 0.72);
}

.reference-list {
  display: grid;
  gap: 1rem;
}

.reference-group {
  display: grid;
  gap: 1rem;
  scroll-margin-top: 6rem;
}

.reference-group + .reference-group {
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
}

.reference-group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(247, 242, 232, 0.14);
}

.reference-group-head h3 {
  max-width: 620px;
  color: var(--ivory-100);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.35rem, 2.45vw, 2.05rem);
  line-height: 1.12;
  text-align: right;
}

.reference-group-head .status-meta {
  flex: 0 0 auto;
  color: rgba(247, 242, 232, 0.56);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reference-example-toggle {
  display: none;
}

.project-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(247, 242, 232, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(247, 242, 232, 0.08), rgba(20, 96, 87, 0.06)),
    rgba(247, 242, 232, 0.05);
  padding: clamp(1.2rem, 3vw, 1.8rem);
}

.overview-main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.4rem;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.overview-main h3 {
  max-width: 520px;
  color: var(--ivory-100);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.45rem, 2.65vw, 2.25rem);
  line-height: 1.12;
}

.overview-main p,
.project-status-card p {
  color: rgba(247, 242, 232, 0.72);
  font-size: 0.93rem;
  line-height: 1.68;
}

.project-status-grid {
  display: grid;
  gap: 1rem;
}

.project-status-card {
  border: 1px solid rgba(247, 242, 232, 0.14);
  border-radius: var(--radius);
  background: rgba(6, 27, 22, 0.24);
  padding: 1rem;
}

.project-status-card .status-pill {
  margin-bottom: 0.85rem;
}

.project-status-card h4 {
  margin-bottom: 0.4rem;
  color: var(--ivory-100);
  font-size: 1rem;
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 0.34rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-live {
  background: rgba(196, 210, 193, 0.18);
  color: var(--sage-300);
}

.status-progress {
  background: rgba(200, 168, 95, 0.18);
  color: var(--brass-500);
}

.status-planned {
  background: rgba(191, 113, 79, 0.18);
  color: #e1a487;
}

.status-meta {
  color: rgba(247, 242, 232, 0.48);
  font-size: 0.82rem;
}

.progress-line {
  position: relative;
  height: 6px;
  overflow: hidden;
  margin-top: 1rem;
  border-radius: 999px;
  background: rgba(247, 242, 232, 0.12);
}

.progress-line::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--progress);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brass-500), var(--sage-300));
}

.price-features {
  list-style: none;
}

.price-features li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.price-features li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brass-500);
}

.reference-row {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.6rem);
  padding: 1rem;
  background: rgba(247, 242, 232, 0.06);
  border-color: rgba(247, 242, 232, 0.16);
}

.reference-row img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(247, 242, 232, 0.14);
  border-radius: var(--radius);
  object-fit: cover;
  filter: saturate(0.92);
}

.reference-row-content {
  min-width: 0;
}

.reference-row-content .status-pill {
  margin-bottom: 0.85rem;
}

.reference-row h3 {
  color: var(--ivory-100);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.reference-actions {
  display: grid;
  min-width: 190px;
  gap: 0.65rem;
}

.btn-reference {
  width: 100%;
  border-color: rgba(200, 168, 95, 0.38);
  background: var(--brass-500);
  color: var(--green-950);
}

.btn-reference:hover {
  background: #d9bb72;
}

.btn-reference-alt {
  border-color: rgba(247, 242, 232, 0.22);
  background: transparent;
  color: var(--ivory-100);
}

.btn-reference-alt:hover {
  border-color: var(--brass-500);
  background: rgba(247, 242, 232, 0.08);
}

.process-section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: var(--ivory-200);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step {
  min-height: 230px;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.48);
}

.conversion-section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: var(--green-900);
  color: var(--ivory-100);
}

.conversion-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
}

.price-panel,
.contact-panel {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--ivory-100);
  color: var(--green-950);
  box-shadow: var(--shadow-deep);
}

.price-panel {
  align-self: start;
}

.price-panel h2,
.contact-panel h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 2.65vw, 2.75rem);
  line-height: 1.12;
}

.price-note {
  color: var(--stone-700);
  line-height: 1.7;
}

.maintenance {
  display: grid;
  gap: 0.25rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--brass-500);
  padding: 1rem 1rem 1rem 1.2rem;
  background: rgba(196, 210, 193, 0.32);
}

.maintenance strong {
  color: var(--green-900);
}

.maintenance span {
  color: var(--stone-700);
  font-size: 0.92rem;
  line-height: 1.55;
}

.price-features {
  display: grid;
  gap: 0.7rem;
}

.price-features li {
  color: var(--stone-700);
  font-size: 0.94rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

#kontakt {
  scroll-margin-top: 6rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: grid;
  gap: 0.42rem;
}

.form-group label {
  color: var(--stone-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(8, 40, 32, 0.16);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--green-950);
  outline: none;
  padding: 0.82rem 0.9rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-700);
  box-shadow: 0 0 0 3px rgba(20, 96, 87, 0.12);
}

.form-group textarea {
  min-height: 138px;
  resize: vertical;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem clamp(1.25rem, 5vw, 4rem);
  background: var(--green-950);
  color: rgba(247, 242, 232, 0.62);
}

footer .footer-logo {
  color: var(--ivory-100);
}

footer p,
footer a {
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
}

footer a {
  color: rgba(247, 242, 232, 0.68);
  text-decoration: none;
}

footer a:hover {
  color: var(--ivory-100);
}

.preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(6, 27, 22, 0.72);
  backdrop-filter: blur(8px);
}

.preview-overlay.open {
  display: flex;
}

.preview-modal {
  width: min(66vw, 1180px);
  height: min(66vh, 760px);
  overflow: hidden;
  border: 1px solid rgba(247, 242, 232, 0.16);
  border-radius: var(--radius);
  background: var(--ivory-100);
  box-shadow: var(--shadow-deep);
  display: grid;
  grid-template-rows: auto 1fr;
}

.preview-modal.is-mobile {
  width: min(66vw, 520px);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(8, 40, 32, 0.12);
  padding: 0.9rem 1rem;
}

.preview-header .eyebrow {
  margin-bottom: 0.2rem;
}

.preview-header h3 {
  color: var(--green-950);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1;
}

.preview-close {
  border: 1px solid rgba(8, 40, 32, 0.16);
  border-radius: 999px;
  background: var(--green-900);
  color: var(--ivory-100);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.65rem 0.95rem;
}

.preview-frame-wrap {
  overflow: auto;
  background: #111f1a;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
}

.preview-viewport {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ivory-100);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
}

.preview-frame-wrap iframe {
  position: absolute;
  inset: 0;
  border: 0;
  background: var(--ivory-100);
  transform-origin: top left;
}

.preview-modal.is-mobile .preview-frame-wrap {
  padding: 1rem;
  background:
    linear-gradient(90deg, rgba(247, 242, 232, 0.04) 1px, transparent 1px),
    #111f1a;
  background-size: 24px 24px;
}

.success-popup {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(6, 27, 22, 0.62);
}

.success-card {
  width: min(420px, 100%);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--ivory-100);
  box-shadow: var(--shadow-deep);
  text-align: center;
}

.success-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.8rem;
}

.success-card p {
  margin-bottom: 1.2rem;
  color: var(--stone-700);
  line-height: 1.65;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1040px) {
  .site-nav {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    background: var(--ivory-100);
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-intro {
    width: 100%;
    min-height: auto;
    margin-left: 0;
    padding: 1rem;
    border-radius: var(--radius);
  }

  .hero .hero-intro {
    transform: none;
  }

  .hero-intro::before {
    inset: 0;
  }

  .service-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .conversion-inner {
    grid-template-columns: 1fr;
  }

  .legal-content {
    grid-template-columns: 1fr;
  }

  .legal-card-combined {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .legal-card-section {
    border-top: 1px solid rgba(200, 168, 95, 0.28);
    border-left: 0;
    padding-top: 1.1rem;
    padding-left: 0;
  }

  .legal-card-section-main {
    border-top: 0;
    padding-top: 0;
  }

  .reference-row {
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  }

  .project-overview {
    grid-template-columns: 1fr;
  }

  .reference-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-nav {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
  }

  .nav-logo {
    width: 100%;
    text-align: center;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-content: stretch;
    align-items: stretch;
    gap: 0.65rem;
  }

  .site-nav .nav-actions .btn-primary {
    min-width: 0;
    width: 100%;
  }

  .site-nav .nav-actions .btn-whatsapp {
    width: 48px;
    max-width: 48px;
    min-width: 48px;
    padding: 0;
    gap: 0;
    border-radius: 14px;
    font-size: 0;
  }

  .site-nav .btn-whatsapp .wa-svg {
    width: 20px;
    height: 20px;
  }

  .hero {
    overflow: hidden;
    min-height: auto;
    padding: 2rem 1.25rem 3rem;
  }

  .legal-page {
    padding-top: 9rem;
  }

  .legal-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .legal-hero .btn {
    width: 100%;
  }

  .legal-hero h1 {
    font-size: clamp(2.35rem, 11.5vw, 3rem);
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .legal-hero p:not(.eyebrow) {
    max-width: 32ch;
  }

  .hero-content,
  .hero-intro {
    min-width: 0;
    width: 100%;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 11vw, 3rem);
    line-height: 1.04;
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  .hero-sub {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .hero-intro-points {
    max-width: 100%;
    gap: 0.45rem;
    margin-bottom: 1.45rem;
  }

  .hero-intro-points span {
    font-size: 0.9rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-consultation-btn {
    display: none;
  }

  .hero-intro {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 1rem;
  }

  .hero-portrait {
    width: min(100%, 280px);
  }

  .hero-intro-card {
    margin: 0;
    border-top: 1px solid rgba(200, 168, 95, 0.32);
    border-left: 0;
    padding: 1.25rem;
    transform: none;
  }

  .hero-intro-card h2 {
    font-size: clamp(1.85rem, 9vw, 2.35rem);
  }

  .hero-intro-card p:not(.eyebrow) {
    font-size: 0.92rem;
  }

  .proof-strip,
  .service-grid,
  .steps,
  .form-row {
    grid-template-columns: 1fr;
  }

  .work-section,
  .process-section,
  .conversion-section {
    padding: 3.25rem 0;
    scroll-margin-top: 7rem;
  }

  .section {
    scroll-margin-top: 7rem;
  }

  .project-overview {
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding: 1rem;
  }

  .overview-main {
    gap: 0.8rem;
  }

  .overview-main h3 {
    font-size: clamp(1.45rem, 8vw, 1.85rem);
  }

  .overview-main p,
  .project-status-card p {
    display: none;
  }

  .project-overview .status-row {
    align-items: center;
    flex-direction: row;
  }

  .project-status-grid {
    gap: 0.65rem;
  }

  .project-status-card {
    padding: 0.8rem;
  }

  .project-status-card .status-pill {
    margin-bottom: 0.55rem;
  }

  .project-status-card h4 {
    margin-bottom: 0;
    font-size: 0.95rem;
  }

  .progress-line {
    height: 5px;
    margin-top: 0.65rem;
  }

  .mobile-accordion-item {
    min-height: auto;
    overflow: hidden;
    padding: 0;
  }

  .mobile-accordion-toggle {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
    min-height: 58px;
    padding: 0.95rem 1rem;
    cursor: pointer;
  }

  .mobile-accordion-toggle::after {
    content: "+";
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(8, 40, 32, 0.16);
    border-radius: 999px;
    color: var(--teal-700);
    font-weight: 900;
    line-height: 1;
  }

  .mobile-accordion-item.is-open .mobile-accordion-toggle::after {
    content: "-";
  }

  .service-mark,
  .step-mark,
  .mobile-accordion-title {
    margin-bottom: 0;
  }

  .mobile-accordion-panel {
    display: none;
    padding: 0 1rem 1rem;
  }

  .mobile-accordion-item.is-open .mobile-accordion-panel {
    display: block;
  }

  .reference-row {
    grid-template-columns: 1fr;
  }

  .reference-group-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .reference-group-head h3 {
    text-align: left;
  }

  .reference-example-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(200, 168, 95, 0.38);
    border-radius: 999px;
    background: rgba(247, 242, 232, 0.08);
    color: var(--ivory-100);
    cursor: pointer;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 900;
  }

  .reference-example-toggle::after {
    content: "+";
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 999px;
    background: var(--brass-500);
    color: var(--green-950);
    line-height: 1;
  }

  .reference-group-examples:not(.is-collapsed)
    .reference-example-toggle::after {
    content: "-";
  }

  .reference-group-examples.is-collapsed .reference-list {
    display: none;
  }

  .status-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .reference-actions {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .preview-modal,
  .preview-modal.is-mobile {
    width: min(100%, 680px);
    height: min(82vh, 760px);
  }

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(247, 242, 232, 0.14);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .section,
  .legal-hero,
  .legal-content,
  .work-inner,
  .process-inner,
  .conversion-inner {
    width: min(100% - 2rem, 1180px);
    gap: 0.8rem;
  }

  .service-card,
  .step {
    min-height: auto;
  }

  .price-panel,
  .contact-panel {
    padding: 1.1rem;
  }

  .price-panel h2,
  .contact-panel h2 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .maintenance {
    margin: 1rem 0;
    padding: 0.85rem 0.9rem 0.85rem 1rem;
  }

  .price-features {
    gap: 0.5rem;
  }

  .contact-actions .btn {
    width: 100%;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .nav-actions {
    grid-template-columns: minmax(0, 1fr) 48px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .status-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-content,
  .hero-actions,
  .hero-intro,
  .section,
  .work-inner,
  .process-inner,
  .conversion-inner {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }

  .proof-strip div {
    width: 100%;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }

  h1 {
    max-width: 310px;
    font-size: clamp(1.8rem, 8vw, 2.05rem);
  }
}
