:root {
  --bg: #e7f2e3;
  --text: #0f1a12;
  --muted: rgba(15, 26, 18, 0.75);
  --darkbar: #21372c;
  --underline: #2f6b3f;
  --ratingGreen: #2fa55a;
  --stroke: rgba(33, 55, 44, 0.18);
  --soft: rgba(255, 255, 255, 0.6);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.amg-page-title,
.amg-h2,
.amg-infoCard__title,
.amg-finalTitle {
  font-family: "DM Serif Display", Georgia, serif;
  font-synthesis: none;
}

/* NAV */
.amg-header {
  padding: 20px 0;
}

.amg-navbar {
  min-height: 72px;
}

.amg-brand {
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 26, 18, 0.9);
  font-size: 14px;
}

.amg-nav-links .nav-link {
  font-weight: 700;
  font-size: 13px;
  color: rgba(15, 26, 18, 0.82);
  padding: 10px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: 0.25s ease;
}

.amg-nav-links .nav-link:hover,
.amg-nav-links .nav-link.active {
  background: rgba(47, 107, 63, 0.1);
  color: rgba(15, 26, 18, 0.95);
}

.amg-top-actions {
  min-width: 290px;
  justify-content: flex-end;
}

.amg-lang-btn {
  min-width: 150px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  padding: 11px 14px;
}

.amg-lang-menu {
  border-radius: 16px;
  border: 1px solid var(--stroke);
  padding: 8px;
}

.amg-lang-menu .dropdown-item {
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 12px;
}

.amg-lang-menu .dropdown-item.active {
  background: rgba(33, 55, 44, 0.1);
  color: var(--text);
}

.amg-contact-btn,
.amg-btn {
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 900;
  font-size: 13px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.amg-contact-btn:hover,
.amg-btn:hover {
  transform: translateY(-2px);
}

.amg-contact-btn {
  background: var(--darkbar);
  color: #fff;
}

.amg-contact-btn:hover {
  background: #1a2d24;
  color: #fff;
}

.amg-toggler {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
}

/* HERO */
.amg-aboutHero {
  padding: 30px 0 70px;
}

.amg-kicker {
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 12px;
}

.amg-page-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.04;
  margin: 0 0 16px;
  max-width: 12ch;
}

.amg-page-text,
.amg-p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 14px;
}

.amg-hero-photo,
.amg-about-photo {
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(15, 26, 18, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.amg-hero-photo {
  animation: amgFloat 4s ease-in-out infinite;
}

.amg-about-photo {
  animation: amgFloat 5s ease-in-out infinite;
}

.amg-hero-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.amg-about-photo img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.amg-hero-photo:hover img,
.amg-about-photo:hover img {
  transform: scale(1.03);
}

.amg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* BUTTONS */
.amg-btn--primary {
  background: var(--darkbar);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.amg-btn--primary:hover {
  background: #1b2e25;
  color: #fff;
}

.amg-btn--secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
  border: 1px solid rgba(15, 26, 18, 0.12);
}

.amg-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
}

.amg-btn--whatsapp {
  background: #25d366;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.amg-btn--whatsapp:hover {
  background: #1fb858;
  color: #fff;
}

.amg-btn--call {
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
  border: 1px solid rgba(15, 26, 18, 0.12);
}

.amg-btn--call:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
}

/* ABOUT */
.amg-aboutSection {
  padding: 20px 0 80px;
}

.amg-h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  margin: 0 0 16px;
  max-width: 16ch;
}

.amg-infoCard {
  height: 100%;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 26, 18, 0.1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.amg-infoCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.08);
}

.amg-infoCard__num {
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(47, 107, 63, 0.9);
  margin-bottom: 8px;
}

.amg-infoCard__title {
  font-size: 24px;
  margin: 0 0 10px;
}

.amg-infoCard__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* STATS */
.amg-statCard {
  height: 100%;
  padding: 24px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(15, 26, 18, 0.1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.amg-statCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.08);
}

.amg-statCard__num {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 8px;
}

.amg-statCard__label {
  font-size: 13px;
  font-weight: 800;
  color: rgba(15, 26, 18, 0.7);
}

/* CTA */
.amg-finalCta {
  padding: 0 0 80px;
}

.amg-finalBox {
  border-radius: 28px;
  border: 1px solid rgba(15, 26, 18, 0.1);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.78),
    rgba(231, 242, 227, 0.7)
  );
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.1);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.amg-finalKicker {
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.amg-finalTitle {
  margin: 0 0 8px;
  line-height: 1.1;
  font-size: clamp(22px, 2.4vw, 34px);
  max-width: 24ch;
}

.amg-finalText {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.amg-finalBtns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* FOOTER */
.amg-footer {
  background: var(--darkbar);
  color: #fff;
  padding: 54px 0 24px;
}

.amg-footerLogo {
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 10px;
}

.amg-footerText {
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.amg-footerHead {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.amg-footerLink,
.amg-footerMini {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  padding: 6px 0;
}

.amg-footerBottom {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
}

/* FLOATING BUTTONS */
.amg-floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.amg-float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.amg-float-btn:hover {
  transform: translateY(-3px);
}

.amg-float-btn--whatsapp {
  background: #25d366;
}

.amg-float-btn--call {
  background: var(--darkbar);
}

.amg-float-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* REVEAL */
.amg-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.amg-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ANIMATION */
@keyframes amgFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
  .amg-top-actions {
    min-width: 100%;
    margin-top: 16px;
    justify-content: flex-start;
  }

  .amg-page-title,
  .amg-h2 {
    max-width: none;
  }

  .amg-hero-photo img {
    height: 360px;
  }

  .amg-about-photo img {
    height: 360px;
  }

  .amg-finalBox {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  .amg-btn,
  .amg-contact-btn {
    width: 100%;
  }

  .amg-finalBtns,
  .amg-hero-actions {
    width: 100%;
  }

  .amg-finalBtns .amg-btn,
  .amg-hero-actions .amg-btn {
    width: 100%;
  }

  .amg-floating-contact {
    right: 14px;
    bottom: 14px;
  }

  .amg-float-btn {
    width: 52px;
    height: 52px;
  }
}
