:root {
  --ink: #12201c;
  --ink-soft: #2a3d36;
  --forest: #0b3d36;
  --teal: #1a6b5c;
  --mint: #c8e6d9;
  --sand: #eef4f0;
  --paper: #f7faf8;
  --white: #ffffff;
  --line: rgba(18, 32, 28, 0.12);
  --shadow: 0 24px 60px rgba(11, 61, 54, 0.14);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(100% - 2.5rem, 720px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--forest), var(--teal));
  color: var(--mint);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.brand-text small {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav a:hover {
  color: var(--forest);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--forest);
  color: var(--white) !important;
}

.nav-cta:hover {
  background: var(--teal);
  color: var(--white) !important;
}

.header-phone {
  display: none;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  margin-left: auto;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 7px 0;
  transition: transform 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 24, 0.25) 0%, rgba(8, 28, 24, 0.55) 45%, rgba(8, 28, 24, 0.88) 100%),
    linear-gradient(90deg, rgba(8, 28, 24, 0.55) 0%, rgba(8, 28, 24, 0.15) 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 5rem 0 5rem;
  max-width: 34rem;
  margin-right: auto;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2 + 1.25rem));
  animation: rise 0.9s var(--ease) both;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--mint);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.35rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
  font-weight: 300;
  max-width: 30rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--mint);
  color: var(--forest) !important;
}

.btn-primary:hover {
  background: var(--white);
  color: var(--forest) !important;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white) !important;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white) !important;
}

.btn-block {
  width: 100%;
}

.contact .btn-primary,
.about-aside .btn-primary {
  background: var(--forest);
  color: var(--white) !important;
}

.contact .btn-primary:hover,
.about-aside .btn-primary:hover {
  background: var(--teal);
  color: var(--white) !important;
}

/* Strip */
.strip {
  background: var(--forest);
  color: var(--white);
  padding: 1.75rem 0;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.strip-grid div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.strip-grid strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--mint);
}

.strip-grid span {
  font-size: 0.92rem;
  opacity: 0.85;
}

/* Sections */
.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-alt {
  background: var(--sand);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}

.section-head h2,
.about-copy h2,
.contact-copy h2 {
  margin: 0.35rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-head p:not(.eyebrow) {
  margin: 0;
  color: var(--ink-soft);
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

/* Services — no heavy cards */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.services article {
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.services article:nth-child(3n) {
  border-right: 0;
  padding-right: 0;
}

.services article:nth-child(3n + 1) {
  padding-left: 0;
}

.services article.is-visible {
  opacity: 1;
  transform: none;
}

.services h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.services p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.steps li {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.steps li.is-visible {
  opacity: 1;
  transform: none;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.85rem;
  opacity: 0.55;
}

.steps h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.about-copy p {
  color: var(--ink-soft);
}

.about-copy a {
  color: var(--teal);
  font-weight: 500;
}

.checks {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.checks li {
  position: relative;
  padding-left: 1.6rem;
  font-weight: 500;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: inset 0 0 0 3px var(--teal);
}

.about-aside {
  background: linear-gradient(160deg, var(--forest), #164f45);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.85rem;
  box-shadow: var(--shadow);
}

.aside-label {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

.aside-phone {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--mint);
  margin-bottom: 0.35rem;
}

.aside-mail {
  display: block;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.35rem;
  word-break: break-all;
}

.about-aside .btn-primary {
  background: var(--mint);
  color: var(--forest) !important;
}

.about-aside .btn-primary:hover {
  background: var(--white);
  color: var(--forest) !important;
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--teal);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0.75rem 0 0.25rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

/* Contact */
.contact {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(200, 230, 217, 0.55), transparent 45%),
    var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-links {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.contact-links a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.contact-links span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}

.contact-links strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  background: var(--paper);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26, 107, 92, 0.15);
}

.consent {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.65rem !important;
  font-weight: 400 !important;
}

.consent input {
  margin-top: 0.2rem;
  width: auto;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--ink-soft);
  text-align: center;
}

.form-status {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
}

.form-status.is-ok {
  background: rgba(26, 107, 92, 0.12);
  color: var(--forest);
}

.form-status.is-err {
  background: rgba(160, 40, 40, 0.1);
  color: #8a1f1f;
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.75rem 0;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
}

.site-footer a {
  color: var(--mint);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-meta {
  text-align: right;
}

.footer-meta p {
  margin: 0 0 0.4rem;
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 40;
  transition: transform 0.25s var(--ease);
}

.wa-float:hover {
  transform: scale(1.06);
  color: white;
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

/* Animations */
@keyframes hero-drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .hero-content,
  .services article,
  .steps li {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .strip-grid,
  .services,
  .steps,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services article:nth-child(3n) {
    border-right: 1px solid var(--line);
    padding-right: 1.5rem;
  }

  .services article:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
  }

  .services article:nth-child(2n + 1) {
    padding-left: 0;
  }

  .footer-meta {
    text-align: left;
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    padding: 1rem 1.25rem 1.25rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 0.5rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }

  .header-phone {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-content {
    margin-left: 1.25rem;
    padding-bottom: 3rem;
  }

  .strip-grid,
  .services,
  .steps,
  .about-grid,
  .contact-grid,
  .contact-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .services article,
  .services article:nth-child(3n),
  .services article:nth-child(2n) {
    border-right: 0;
    padding: 1.5rem 0;
  }

  .brand-text small {
    display: none;
  }
}

@media (min-width: 1100px) {
  .header-phone {
    display: inline;
  }
}
