* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #1f7a4d;
  --dark-green: #0f3d2e;
  --soft-green: #eaf7ef;
  --yellow: #f5c542;
  --text: #1f2933;
  --muted: #64748b;
  --white: #ffffff;
  --bg: #f8fafc;
  --border: #e2e8f0;
  --shadow: 0 15px 40px rgba(15, 61, 46, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

.container {
  width: min(1120px, 92%);
  margin: auto;
}

.navbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--border);
}

.brand h1 {
  font-size: 20px;
  color: var(--dark-green);
  line-height: 1.2;
}

.brand p {
  font-size: 12px;
  color: var(--muted);
}

nav {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
}

nav a:hover {
  color: var(--green);
}

.menu-btn {
  display: none;
  background: var(--green);
  color: white;
  border: none;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 20px;
}

.hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #124f38, #1f7a4d);
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  z-index: -3;
}

.hero-overlay {
  background:
    linear-gradient(120deg, rgba(15, 61, 46, 0.91), rgba(31, 122, 77, 0.70)),
    radial-gradient(circle at top right, rgba(245, 197, 66, 0.55), transparent 30%);
  z-index: -2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 42px;
  padding: 80px 0;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 18px;
}

.hero h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background: var(--yellow);
  color: #1b1b1b;
}

.btn.secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn.full {
  width: 100%;
}

.hero-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 32px;
  border-radius: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-card h3 {
  font-size: 26px;
  margin-bottom: 18px;
}

.hero-card li {
  margin: 12px 0 12px 18px;
  font-weight: 600;
}

.section {
  padding: 88px 0;
}

.section.light {
  background: var(--bg);
}

.white-video-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--white);
}

.white-bg-video,
.white-bg-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.white-bg-video {
  object-fit: cover;
  z-index: -3;
}

.white-bg-overlay {
  background: rgba(255, 255, 255, 0.82);
  z-index: -2;
}

.white-video-content {
  position: relative;
  z-index: 1;
}

.white-video-section .info-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.two-col,
.cv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.section-label {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 800;
  font-size: 13px;
}

.section h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  margin: 12px 0 18px;
  color: var(--dark-green);
}

.section p {
  color: var(--muted);
  margin-bottom: 14px;
}

.info-box,
.card,
.contact-form,
.request-form,
.cv-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.cv-panel.soft {
  background: linear-gradient(180deg, #ffffff, #f2fbf5);
}

.info-box h3,
.card h3,
.cv-panel h3 {
  color: var(--dark-green);
  margin-bottom: 16px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row span {
  color: var(--muted);
  text-align: right;
}

.center-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.cards {
  display: grid;
  gap: 24px;
}

.cards.two {
  grid-template-columns: repeat(2, 1fr);
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.card ul,
.portfolio-list {
  padding-left: 20px;
  color: var(--muted);
}

.service {
  transition: 0.25s ease;
}

.service:hover {
  transform: translateY(-6px);
}

.icon {
  font-size: 34px;
  margin-bottom: 14px;
}

.cv-contact {
  margin: 18px 0 22px;
  padding: 18px;
  border-radius: 16px;
  background: var(--soft-green);
}

.cv-contact p {
  margin-bottom: 6px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 24px;
}

.tag-list span {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.step {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(15, 61, 46, 0.06);
}

.step b {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft-green);
  color: var(--green);
}

.green-section {
  background: linear-gradient(135deg, var(--dark-green), var(--green));
  color: var(--white);
}

.white h2,
.white p,
.white .section-label {
  color: var(--white);
}

.commit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.commit-grid div {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  text-align: center;
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--dark-green);
  color: var(--white);
}

td {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 42px;
  align-items: start;
}

.contact-list p {
  margin-bottom: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 14px;
  font-family: inherit;
  font-size: 15px;
  background: var(--white);
}

.form-grid input,
.form-grid select {
  margin-bottom: 0;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(31, 122, 77, 0.2);
  border-color: var(--green);
}

.form-info,
.db-alert.success {
  margin-top: 12px;
  color: var(--green) !important;
  font-weight: 700;
}

.db-alert.error {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff1f2;
  color: #be123c;
  font-weight: 700;
}

.db-alert.success {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--soft-green);
}

.admin-note {
  text-align: center;
  margin-top: 18px;
}

.admin-note a {
  color: var(--green);
  font-weight: 700;
}

footer {
  background: var(--dark-green);
  color: rgba(255, 255, 255, 0.82);
  padding: 28px 0;
}

.footer-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  align-items: center;
  text-align: center;
}

.associate-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  width: 100%;
}

.associate-box img {
  max-width: 190px;
  max-height: 72px;
  object-fit: contain;
  background: var(--white);
  border-radius: 12px;
  padding: 8px 10px;
}



.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}

.wa-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  font-size: 18px;
}

.wa-text {
  white-space: nowrap;
}

@media (max-width: 1000px) {
  nav {
    position: absolute;
    top: 78px;
    left: 0;
    width: 100%;
    background: var(--white);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 4%;
    border-bottom: 1px solid var(--border);
  }

  nav.active {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .hero-grid,
  .two-col,
  .contact-grid,
  .cv-grid {
    grid-template-columns: 1fr;
  }

  .cards.three,
  .cards.two,
  .commit-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .section {
    padding: 64px 0;
  }

  .brand h1 {
    font-size: 17px;
  }
}


@media (max-width: 600px) {
  .associate-box {
    flex-direction: column;
  }

  .associate-box img {
    max-width: 170px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 12px 14px;
  }

  .wa-text {
    display: none;
  }

  .wa-icon {
    width: 32px;
    height: 32px;
  }
}
