:root {
  --dark-blue: #082B3A;
  --green: #2E7D32;
  --light-green: #7CB342;
  --water-blue: #1E88A8;
  --white: #FFFFFF;
  --light-gray: #F5F7F8;
  --text-gray: #5F6B73;
  --border: #E1E8EC;
  --shadow: 0 20px 50px rgba(8, 43, 58, 0.12);
  --radius: 22px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--dark-blue);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(46, 125, 50, 0.1);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading h2,
.projects-content h2,
.contact-info h2,
.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.section-heading p,
.projects-content p,
.contact-info p,
.cta p {
  color: var(--text-gray);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.94rem;
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--water-blue));
  box-shadow: 0 14px 30px rgba(46, 125, 50, 0.22);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(46, 125, 50, 0.32);
}

.btn-secondary {
  color: var(--dark-blue);
  background: var(--white);
  border-color: var(--border);
}

.btn-secondary:hover {
  color: var(--green);
  border-color: var(--green);
  transform: translateY(-3px);
}

.btn-light {
  background: var(--white);
  color: var(--green);
}

.btn-light:hover {
  transform: translateY(-3px);
}

/* Header */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(225, 232, 236, 0.7);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 10px 30px rgba(8, 43, 58, 0.08);
}

.header-container {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo {
  width: 210px;
  max-height: 72px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  font-size: 0.94rem;
  color: var(--dark-blue);
  font-weight: 700;
  transition: var(--transition);
}

.nav a:hover {
  color: var(--green);
}

.btn-header {
  color: var(--white);
  background: var(--dark-blue);
}

.btn-header:hover {
  background: var(--green);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--light-gray);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--dark-blue);
  transition: var(--transition);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 96px;
  background:
    radial-gradient(circle at top right, rgba(30, 136, 168, 0.16), transparent 34%),
    linear-gradient(180deg, #F8FBFC 0%, #FFFFFF 100%);
}

.hero-bg-detail {
  position: absolute;
  right: -160px;
  top: 80px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: rgba(124, 179, 66, 0.16);
  filter: blur(10px);
}

.hero-container {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 64px;
}

.hero-content h1 {
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: -0.06em;
  margin-bottom: 24px;
}

.hero-content p {
  color: var(--text-gray);
  font-size: 1.15rem;
  max-width: 680px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 670px;
}

.hero-stats div {
  padding: 18px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--border);
}

.hero-stats strong {
  display: block;
  font-size: 1rem;
  color: var(--dark-blue);
}

.hero-stats span {
  display: block;
  color: var(--text-gray);
  font-size: 0.9rem;
}

.hero-card {
  position: relative;
  padding: 34px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(225, 232, 236, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-logo-box {
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(180deg, var(--white), var(--light-gray));
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.hero-logo-box img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
}

.hero-service-list {
  display: grid;
  gap: 14px;
}

.hero-service-list div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: var(--light-gray);
}

.hero-service-list span {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-weight: 800;
  background: var(--dark-blue);
}

.hero-service-list p {
  font-weight: 800;
}

/* About */

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
}

.about-text {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--light-gray);
  border: 1px solid var(--border);
}

.about-text p + p {
  margin-top: 18px;
}

.about-text p {
  color: var(--text-gray);
  font-size: 1.03rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.highlight-card {
  min-height: 148px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 16px 35px rgba(8, 43, 58, 0.06);
  transition: var(--transition);
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.highlight-card span {
  font-size: 2rem;
  display: block;
  margin-bottom: 16px;
}

.highlight-card h3 {
  font-size: 1.1rem;
}

/* Services */

.services {
  background: var(--light-gray);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  min-height: 292px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(30, 136, 168, 0.1);
  font-size: 1.7rem;
  margin-bottom: 22px;
}

.service-card h3 {
  font-size: 1.18rem;
  line-height: 1.3;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-gray);
  font-size: 0.98rem;
}

/* Projects */

.projects {
  background: var(--white);
}

.projects-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
  padding: 46px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(8, 43, 58, 0.98), rgba(30, 136, 168, 0.9)),
    var(--dark-blue);
}

.projects-content h2,
.projects-content p {
  color: var(--white);
}

.projects-content p {
  opacity: 0.84;
  margin-bottom: 30px;
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.project-cards article {
  min-height: 112px;
  display: flex;
  align-items: end;
  padding: 22px;
  border-radius: 20px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 800;
  transition: var(--transition);
}

.project-cards article:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

/* Differentials */

.differentials {
  background: var(--light-gray);
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.differential-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
}

.differential-item span {
  color: var(--green);
  font-weight: 900;
}

.differential-item p {
  font-weight: 800;
}

/* CTA */

.cta {
  padding: 86px 0;
  background:
    radial-gradient(circle at top left, rgba(124, 179, 66, 0.2), transparent 30%),
    linear-gradient(135deg, var(--green), var(--dark-blue));
}

.cta-container {
  text-align: center;
  max-width: 820px;
}

.cta h2 {
  color: var(--white);
}

.cta p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 30px;
}

/* Contact */

.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info p {
  margin-bottom: 26px;
}

.contact-details {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-details div {
  padding: 18px;
  border-radius: 18px;
  background: var(--light-gray);
  border: 1px solid var(--border);
}

.contact-details strong {
  display: block;
  margin-bottom: 4px;
}

.contact-details span {
  color: var(--text-gray);
}

.contact-form {
  padding: 34px;
  border-radius: 30px;
  background: var(--light-gray);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-group {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-group label {
  font-weight: 800;
  font-size: 0.92rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  background: var(--white);
  color: var(--dark-blue);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
}

.form-button {
  width: 100%;
  border: 0;
}

.form-note {
  margin-top: 14px;
  color: var(--text-gray);
  font-size: 0.9rem;
  text-align: center;
}

/* Footer */

.footer {
  background: var(--dark-blue);
  color: var(--white);
  padding: 64px 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 42px;
}

.footer-brand img {
  width: 190px;
  background: var(--white);
  padding: 10px;
  border-radius: 18px;
  margin-bottom: 20px;
}

.footer-brand h3,
.footer-links h4,
.footer-contact h4 {
  margin-bottom: 14px;
}

.footer-brand p,
.footer-contact p,
.footer-links a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-links a {
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--light-green);
}

.footer-contact a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--light-green);
  font-weight: 800;
}

.footer-bottom {
  margin-top: 46px;
  padding: 22px 16px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

/* WhatsApp Floating */

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-size: 1.4rem;
  font-weight: 900;
  box-shadow: 0 15px 35px rgba(46, 125, 50, 0.35);
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: translateY(-5px) scale(1.04);
}

/* Animations */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 1024px) {
  .btn-header {
    display: none;
  }

  .hero-container,
  .about-grid,
  .projects-wrapper,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .differentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-card {
    max-width: 620px;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 80px;
  }

  .header-container {
    min-height: 76px;
  }

  .logo {
    width: 172px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 12px;
    border-radius: 12px;
  }

  .nav a:hover {
    background: var(--light-gray);
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding: 120px 0 72px;
  }

  .section {
    padding: 72px 0;
  }

  .hero-stats,
  .cards-grid,
  .differentials-grid,
  .project-cards,
  .footer-container {
    grid-template-columns: 1fr;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .projects-wrapper {
    padding: 28px;
  }

  .contact-form {
    padding: 24px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .floating-whatsapp {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .section-heading h2,
  .projects-content h2,
  .contact-info h2,
  .cta h2 {
    font-size: 1.85rem;
  }

  .hero-card,
  .about-text,
  .projects-wrapper,
  .contact-form {
    border-radius: 22px;
  }

  .service-card {
    min-height: auto;
  }
}