:root {
  --public-bg: #f5f1ea;
  --public-surface: #fffdf9;
  --public-surface-strong: #ffffff;
  --public-text: #1f2933;
  --public-muted: #667085;
  --public-border: rgba(31, 41, 51, 0.08);
  --public-primary: #2d5b52;
  --public-primary-deep: #1d3f38;
  --public-accent: #d89b42;
  --public-warm: #f2e4cc;
  --public-shadow: 0 24px 60px rgba(31, 41, 51, 0.08);
}

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

body.public-body {
  margin: 0;
  min-height: 100vh;
  color: var(--public-text);
  background:
    radial-gradient(circle at top left, rgba(216, 155, 66, 0.12), transparent 32%),
    linear-gradient(180deg, #fbf8f2 0%, var(--public-bg) 100%);
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
}

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

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

.public-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.public-main {
  overflow: clip;
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  padding: 1rem 0 0;
}

.public-navbar {
  width: min(1240px, calc(100% - 1.25rem));
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 1.35rem;
  background: rgba(255, 253, 249, 0.88);
  box-shadow: var(--public-shadow);
  backdrop-filter: blur(18px);
}

.public-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 82px;
}

.public-brand-logo,
.public-footer-logo {
  width: 210px;
  height: auto;
}

.public-nav-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex: 1;
}

.public-nav-links,
.public-footer-links,
.public-footer-info {
  margin: 0;
  padding: 0;
  list-style: none;
}

.public-nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-inline: auto;
}

.public-nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--public-muted);
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.public-nav-links a:hover,
.public-nav-links a:focus-visible {
  background: rgba(45, 91, 82, 0.08);
  color: var(--public-primary-deep);
}

.public-auth-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.public-btn {
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.public-btn-primary {
  background: linear-gradient(135deg, var(--public-primary), var(--public-primary-deep));
  color: #fff;
  box-shadow: 0 16px 34px rgba(45, 91, 82, 0.22);
}

.public-btn-primary:hover,
.public-btn-primary:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #33685e, #1a3832);
}

.public-btn-ghost {
  border-color: rgba(45, 91, 82, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--public-primary-deep);
}

.public-btn-ghost:hover,
.public-btn-ghost:focus-visible {
  background: rgba(45, 91, 82, 0.08);
  color: var(--public-primary-deep);
}

.public-customer-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.45rem 0.65rem 0.45rem 0.45rem;
  border: 1px solid rgba(45, 91, 82, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--public-text);
}

.public-customer-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--public-primary), var(--public-accent));
  color: #fff;
  font-weight: 700;
}

.public-customer-copy {
  display: grid;
  text-align: left;
  line-height: 1.1;
}

.public-customer-copy small {
  color: var(--public-muted);
}

.public-customer-dropdown {
  border: 1px solid var(--public-border);
  border-radius: 1rem;
  box-shadow: var(--public-shadow);
  padding: 0.5rem;
}

.public-customer-dropdown .dropdown-item {
  border-radius: 0.8rem;
  padding: 0.7rem 0.85rem;
}

.public-dropdown-form {
  margin: 0;
}

.public-dropdown-button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
}

.public-flash-stack {
  margin-top: 1rem;
}

.public-flash-alert {
  margin-bottom: 0;
  border: 0;
  border-radius: 1.1rem;
  box-shadow: var(--public-shadow);
}

.public-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(45, 91, 82, 0.15);
  border-radius: 0.9rem;
  background: #fff;
}

.public-nav-toggle span {
  width: 1.1rem;
  height: 2px;
  margin: 0 auto;
  background: var(--public-primary-deep);
  border-radius: 999px;
}

.home-section {
  padding: 5.5rem 0;
}

.home-section-accent {
  background:
    radial-gradient(circle at top right, rgba(216, 155, 66, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.42));
}

.home-section-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(45, 91, 82, 0.08);
  color: var(--public-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero-section {
  padding: 4rem 0 2rem;
}

.home-hero-grid,
.home-service-grid,
.home-offer-grid,
.public-footer-grid {
  display: grid;
  gap: 1.4rem;
}

.home-hero-grid {
  grid-template-columns: 1fr;
  align-items: center;
  text-align: center;
  gap: 3rem;
}

.home-hero-copy h1 {
  max-width: none;
  margin: 0 auto 1.25rem;
  font-size: clamp(2.1rem, 3.3vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.home-hero-copy p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.home-hero-copy > p,
.home-section-header p,
.home-about-panel p,
.public-footer-copy {
  color: var(--public-muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin: 2rem 0 0;
}

.home-hero-highlight,
.home-service-card,
.home-offer-card,
.home-empty-card,
.home-about-panel,
.home-hero-service-card {
  border: 1px solid rgba(31, 41, 51, 0.08);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--public-shadow);
}

.home-hero-highlight,
.home-service-card,
.home-offer-card,
.home-empty-card {
  padding: 1.35rem;
}

.home-hero-highlight {
  max-width: 560px;
}

.home-hero-highlight-header,
.home-service-top,
.home-service-footer,
.home-offer-footer {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.home-hero-highlight-header span,
.home-service-category,
.home-service-footer span,
.home-offer-footer span {
  color: var(--public-muted);
}

.home-hero-highlight h5,
.home-service-card h5,
.home-offer-card h5,
.home-empty-card h5 {
  margin: 0.85rem 0 0.6rem;
  font-size: 1.35rem;
}

.home-hero-highlight p,
.home-service-card p,
.home-offer-card p,
.home-empty-card p {
  color: var(--public-muted);
  line-height: 1.7;
}

.home-hero-highlight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.home-hero-highlight-meta span {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(45, 91, 82, 0.08);
  color: var(--public-primary-deep);
  font-weight: 600;
}

.home-hero-media {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.home-hero-image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1.8rem;
  aspect-ratio: 16 / 11;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  box-shadow: 0 24px 60px rgba(31, 41, 51, 0.12);
}

.home-hero-image {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 1.8rem;
  object-fit: cover;
  object-position: center center;
}

.home-hero-service-stack {
  position: absolute;
  right: -2rem;
  bottom: 2.5rem;
  display: grid;
  gap: 0.85rem;
  width: min(260px, 100%);
  z-index: 2;
}

.home-hero-service-card {
  padding: 1rem 1.05rem;
  backdrop-filter: blur(8px);
}

.home-hero-service-card span,
.home-hero-service-card small {
  color: var(--public-muted);
}

.home-hero-service-card strong {
  display: block;
  margin: 0.25rem 0;
}

.home-section-header {
  display: grid;
  gap: 0.9rem;
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.home-section-header h2,
.home-about-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.home-service-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.home-service-card,
.home-offer-card {
  display: grid;
  gap: 0.55rem;
}

.home-service-top strong {
  color: var(--public-primary-deep);
}

.home-service-footer a {
  color: var(--public-primary);
  font-weight: 700;
}

.home-offer-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.home-offer-card {
  position: relative;
  overflow: hidden;
}

.home-offer-badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  background: rgba(216, 155, 66, 0.18);
  color: #8c5b13;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.home-offer-scope {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0.95rem;
  border-radius: 1rem;
  background: rgba(45, 91, 82, 0.06);
}

.home-offer-scope span {
  color: var(--public-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.home-offer-scope strong {
  color: var(--public-primary-deep);
  font-size: 0.95rem;
  line-height: 1.5;
}

.home-about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  padding: 2rem;
}

.home-about-points {
  display: grid;
  gap: 1rem;
}

.home-about-points article {
  padding: 1.15rem;
  border-radius: 1rem;
  background: rgba(45, 91, 82, 0.05);
}

.public-footer {
  padding: 1.5rem 0 2rem;
}

.public-footer-grid {
  grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(140px, 0.8fr));
  align-items: start;
  gap: 2.5rem;
  padding: 2.4rem 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 1.8rem;
  background: rgba(255, 253, 249, 0.88);
  box-shadow: var(--public-shadow);
}

.public-footer-brand {
  display: inline-flex;
  align-items: center;
}

.public-footer-copy {
  margin-top: 1rem;
  max-width: 34ch;
}

.public-footer h6 {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--public-primary);
}

.public-footer-links,
.public-footer-info {
  display: grid;
  gap: 0.8rem;
}

.public-footer-links a,
.public-footer-info li {
  color: var(--public-muted);
}

.public-footer section {
  min-width: 0;
}

.public-whatsapp-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1030;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c4a);
  color: #fff;
  box-shadow: 0 16px 34px rgba(18, 140, 74, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.public-whatsapp-fab:hover,
.public-whatsapp-fab:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(18, 140, 74, 0.3);
}

.public-whatsapp-fab__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.public-whatsapp-fab__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (max-width: 1099.98px) {
  .home-hero-grid,
  .home-about-panel,
  .public-footer-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-image-frame {
    min-height: 0;
  }

  .home-hero-service-stack {
    right: 1rem;
  }
}

@media (max-width: 899.98px) {
  .public-header {
    padding-top: 0.75rem;
  }

  .public-navbar-inner {
    min-height: 76px;
    padding: 0.75rem 0;
  }

  .public-nav-toggle {
    display: inline-flex;
  }

  .public-nav-panel {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0.75rem;
    right: 0.75rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid rgba(31, 41, 51, 0.08);
    border-radius: 1.25rem;
    background: rgba(255, 253, 249, 0.98);
    box-shadow: var(--public-shadow);
  }

  .public-nav-panel.is-open {
    display: flex;
  }

  .public-nav-links,
  .public-auth-actions {
    width: 100%;
    flex-direction: column;
  }

  .public-nav-links {
    margin-inline: 0;
    align-items: stretch;
  }

  .public-nav-links a,
  .public-btn,
  .public-customer-trigger {
    width: 100%;
  }

  .home-section {
    padding: 4.5rem 0;
  }

  .home-hero-section {
    padding-top: 2.5rem;
  }

  .home-hero-copy h1 {
    max-width: 100%;
    white-space: normal;
  }

  .home-hero-image-frame {
    aspect-ratio: 4 / 3;
    background: #05090d;
  }

  .home-hero-image {
    object-fit: contain;
    object-position: center;
  }

  .home-hero-service-stack {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }
}

@media (max-width: 575.98px) {
  .public-shell {
    width: min(100% - 1.25rem, 1180px);
  }

  .public-whatsapp-fab {
    right: 1rem;
    bottom: 1rem;
    width: 3.25rem;
    height: 3.25rem;
  }

  .home-hero-image-frame {
    aspect-ratio: auto;
    padding: 0;
    background: #05090d;
  }

  .home-hero-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .home-hero-highlight-header,
  .home-service-top,
  .home-service-footer,
  .home-offer-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .public-footer-grid,
  .home-about-panel {
    padding: 1.35rem;
  }

  .public-footer-logo {
    width: 180px;
  }
}
