:root {
  --bg-main: #e2d6c1;
  --bg-soft: #efe6db;
  --bg-deep: #1f3b34;
  --accent: #c6a36b;
  --accent-dark: #8c6a3e;
  --text-dark: #1e2a26;
  --text-soft: #5a6b64;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(18, 28, 25, 0.15);
  --shadow-soft: 0 10px 30px rgba(18, 28, 25, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", Arial, sans-serif;
  background: radial-gradient(circle at top, #ffffff, var(--bg-main));
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  padding-top: 90px;
  overflow-x: hidden;
}
body.menu-open {
  overflow: hidden;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 14px 20px;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(31, 59, 52, 0.95);
  z-index: 1000;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(198, 163, 107, 0.2);
}

nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
}

nav a {
  text-decoration: none;
  font-size: 18px;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.2px;
}

nav a:hover {
  color: var(--accent);
}

.nav-hamburger {
  display: none;
}

.hamburger {
  width: 28px;
  height: 25px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #ffffff;
  border-radius: 3px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 60px;
  right: 15px;
  background: linear-gradient(135deg, var(--bg-deep), rgba(31, 59, 52, 0.95));
  border: 1px solid rgba(198, 163, 107, 0.3);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: all 0.4s ease;
  padding: 10px 0;
  min-width: 210px;
  z-index: 10000;
}

.nav-links.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-links li {
  list-style: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  padding: 10px 20px;
}

.nav-links.open li {
  opacity: 1;
  transform: translateY(0);
}

.nav-links a {
  padding: 12px 20px;
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  display: block;
  letter-spacing: 0.3px;
}

.nav-links a:hover {
  background: rgba(198, 163, 107, 0.2);
  color: var(--accent);
}

.nav-divider {
  height: 1px;
  background: rgba(198, 163, 107, 0.3);
  margin: 6px 0;
}

.nav-brand {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 12px 20px;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  nav {
    display: none;
  }

  .nav-hamburger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 18px;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(31, 59, 52, 0.63);
    z-index: 1000;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(198, 163, 107, 0.2);
  }
  .nav-links {
    position: fixed;
    inset: 0;
    margin: 0;
    min-width: 100%;
    width: 100vw;
    height: 100vh;
    padding: 120px 28px 40px;
    border: none;
    border-radius: 0;
    background-image: var(--menu-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: none;
    justify-content: center;
    align-items: center;
    gap: 24px;
    text-align: center;
    opacity: 0;
    transform: translateY(-12px);
    transition:
      opacity 0.4s ease,
      transform 0.4s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
  }

  .nav-links li {
    text-align: center;
    padding: 0;
    position: relative;
    z-index: 2;
    transform: translateY(18px);
    opacity: 0;
    transition:
      transform 0.35s ease,
      opacity 0.35s ease;
  }

  .nav-links.open li {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links a {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: #ffffff;
    position: relative;
    display: inline-block;
    padding: 6px 0;
    transition: opacity 0.2s ease;
    background: transparent;
  }

  .nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }

  .nav-links a:hover,
  .nav-links a:focus {
    opacity: 0.85;
    background: transparent;
  }

  .nav-links a:hover::after,
  .nav-links a:focus::after {
    transform: scaleX(1);
  }

  .nav-divider {
    width: min(320px, 70%);
    margin: 10px auto;
  }

  .nav-brand {
    margin-top: 14px;
  }
}

@media (max-width: 600px) {
  body {
    padding-top: 76px;
  }

  .hero {
    gap: 22px;
  }

  .hero::before {
    height: 220px;
  }

  .hero-content p {
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .about {
    padding: 26px 22px;
  }
}

.hero {
  width: min(1100px, 92%);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30px -20px auto -20px;
  height: 240px;
  background: linear-gradient(120deg, #ffffff, #f0e5d6);
  border-radius: 28px;
  z-index: -1;
  box-shadow: var(--shadow-soft);
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--bg-deep);
  margin-bottom: 10px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(198, 163, 107, 0.15);
  color: var(--accent-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.75rem;
  margin-bottom: 16px;
}

.hero-content p {
  color: var(--text-soft);
  font-size: clamp(1.05rem, 2.6vw, 1.2rem);
  line-height: 1.7;
  margin-top: 8px;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-image img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
  transition: transform 0.2s ease;
}

.btn-primary {
  background: var(--bg-deep);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  border: 1px solid rgba(31, 59, 52, 0.2);
  color: var(--bg-deep);
  background: transparent;
}

.about {
  width: min(900px, 92%);
  margin: 0 auto 40px;
  background: var(--white);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.about-text h2 {
  font-family: "Playfair Display", serif;
  color: var(--bg-deep);
  margin-bottom: 12px;
}

.about-text p {
  color: var(--text-soft);
  margin-bottom: 12px;
  line-height: 1.7;
}

.values {
  width: min(1000px, 92%);
  margin: 0 auto 50px;
  text-align: center;
}

.values h2 {
  font-family: "Playfair Display", serif;
  color: var(--bg-deep);
  margin-bottom: 20px;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.value-grid div {
  background: var(--white);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.value-grid h3 {
  margin-bottom: 8px;
  color: var(--bg-deep);
}

.value-grid p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.cta {
  width: min(900px, 92%);
  margin: 0 auto 40px;
}

.cta-card {
  background: linear-gradient(120deg, #1f3b34, #2d5a4f);
  color: var(--white);
  border-radius: 26px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-card h2 {
  font-family: "Playfair Display", serif;
  margin-bottom: 10px;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.back-link {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.back-link a {
  display: inline-block;
  font-size: 1rem;
  font-weight: bold;
  color: var(--accent-dark);
  text-decoration: none;
  padding: 8px 15px;
  border: 2px solid var(--accent-dark);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.back-link a:hover {
  background: var(--accent-dark);
  color: var(--white);
}

.social-buttons {
  width: min(1200px, 92%);
  margin: 60px auto 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  z-index: 1000;
}

.social-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.2rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: var(--shadow-soft);
}

.instagram {
  background: #e1306c;
}

.whatsapp {
  background: #25d366;
}

.facebook {
  background: #1877f2;
}

.social-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

footer {
  text-align: center;
  padding: 24px 0 30px;
  font-size: 14px;
  color: var(--text-soft);
}

footer .footer-link {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: bold;
}

.footer-legal {
  display: inline-block;
  margin-top: 6px;
}

footer .footer-link:hover {
  color: var(--bg-deep);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .social-buttons {
    margin: 50px auto 40px;
    gap: 18px;
  }

  .social-btn {
    width: 54px;
    height: 54px;
    font-size: 1.15rem;
  }
}

@media (max-width: 600px) {
  .social-buttons {
    margin: 40px auto 30px;
    gap: 14px;
  }

  .social-btn {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 72px;
  }

  .hero::before {
    height: 200px;
  }
}

@media (max-width: 420px) {
  .nav-links {
    left: 12px;
    right: 12px;
    min-width: unset;
  }

  .hero-actions .btn,
  .cta-card .btn {
    width: 100%;
  }

  .about {
    padding: 22px 18px;
  }

  .cta-card {
    padding: 26px 18px;
  }

  .social-buttons {
    margin: 40px auto 30px;
    gap: 16px;
  }

  .social-btn {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
  }
}

@media (max-width: 390px) {
  .hero::before {
    height: 200px;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .about {
    padding: 22px 18px;
  }
}

@media (max-width: 360px) {
  body {
    padding-top: 68px;
  }

  .hero::before {
    height: 190px;
  }
}

img {
  max-width: 100%;
  height: auto;
}

a,
button {
  min-height: 44px;
}

@media (hover: none) {
  .social-btn:hover,
  .btn:hover {
    transform: none;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
}

.scroll-reveal.visible {
  animation: slideInUp 0.6s ease-out forwards;
}

.scroll-reveal-item {
  opacity: 0;
  transform: translateY(40px);
}

.scroll-reveal-item.visible {
  animation: slideInUp 0.6s ease-out forwards;
}

.about.scroll-reveal {
  animation-delay: 0.1s;
}

.values.scroll-reveal {
  animation-delay: 0.1s;
}

.values .scroll-reveal-item:nth-child(1) {
  animation-delay: 0.1s;
}

.values .scroll-reveal-item:nth-child(2) {
  animation-delay: 0.2s;
}

.values .scroll-reveal-item:nth-child(3) {
  animation-delay: 0.3s;
}

.cta.scroll-reveal {
  animation-delay: 0.1s;
}

.cta-card.scroll-reveal-item {
  animation-delay: 0.1s;
}

@media (max-width: 768px) {
  .nav-links {
    inset: 0;
    width: 100vw;
    height: 100vh;
    padding: 120px 28px 40px;
    border-radius: 0;
    background-image: url("forrest.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    text-align: center;
    opacity: 0;
    transform: translateY(-12px);
    transition:
      opacity 0.4s ease,
      transform 0.4s ease;
  }

  .nav-links::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links li {
    transform: translateY(18px);
    opacity: 0;
    transition:
      transform 0.35s ease,
      opacity 0.35s ease;
    z-index: 2;
    position: relative;
  }

  .nav-links.open li {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links a {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: #ffffff;
    position: relative;
    display: inline-block;
    padding: 6px 0;
    transition: opacity 0.2s ease;
    z-index: 2;
  }

  .nav-links a:hover::after {
    transform: scaleX(1);
  }
}
