@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600&family=Poppins:wght@300;400;500&display=swap');

:root {
  --verde: #2F5D50;
  --oliva: #6B8E4E;
  --crema: #F6F4EF;
  --marron: #8B6F47;
}


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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--crema);
  color: #333;
}

h1,h2,h3 {
  font-family: 'Cormorant Garamond', serif;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

/* HEADER */

.header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 24px;
  color: var(--verde);
  font-weight: bold;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 70px;
}
 

.nav a {
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.btn-primary {
  background: var(--verde);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
}


.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  color: var(--verde);
  font-weight: bold;
}

.logo img {
  height: 40px;   /* ajusta según tu logo */
  width: auto;
}


/* BURGER */

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.burger span {
  width: 25px;
  height: 3px;
  background: var(--verde);
}

/* HERO */

.hero {
  padding: 120px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.hero h1 {
  font-size: 52px;
  color: var(--verde);
}

.hero p {
  margin: 24px 0;
  font-size: 18px;
}

/* MOBILE */

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: white;
    width: 100%;
    height: calc(100vh - 70px);
    padding: 40px;
    transition: 0.3s;
  }

  .nav.active {
    right: 0;
  }

  .burger {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero h1 {
    font-size: 34px;
  }
}

.section {
  padding: 60px 0;
}

.section p {
  margin-bottom: 0;
  max-width: 640px;
  line-height: 1.6;
}

.section-intro {
  text-align: left; /* o center si te gusta más */
}

.btn-primary {
  color: white !important;
}


.section h2 {
  font-size: 40px;
  color: var(--verde);
  margin-bottom: 24px;
}

/* sección introductoria (hero de páginas internas) */
.section-intro {
  padding: 120px 0 60px;
}

/* sección de contenido */
.section-content {
  padding: 40px 0 80px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
}

.card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.cta {
  background: var(--verde);
  color: white;
  text-align: center;
  padding: 120px 0;

}

.cta h2 {
  color: white;
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 40px 0;
  margin-top: 80px;
}

.cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

@media (max-width: 768px) {
  .cta .container {
    gap: 20px;
    text-align: center;
  }
}

.cta .btn-primary {
  margin-top: 4px;
}

.cta p {
  max-width: 600px;
  line-height: 1.6;
}

.btn-primary:hover {
  background: var(--oliva);
  transform: translateY(-2px);
  transition: 0.3s ease;
}

/* FOOTER NUEVO */

.footer {
  background: var(--verde);
  color: white;
  padding: 60px 0;
  margin-top: 80px;
}

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

.footer-cta strong {
  display: block;
  font-size: 22px;
  margin-bottom: 8px;
}

.footer-cta span {
  display: block;
  font-weight: 300;
  margin-bottom: 20px;
}

.footer-cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-footer {
  background: white;
  color: var(--verde);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.btn-footer:hover {
  background: var(--oliva);
  color: white;
}

.btn-whatsapp {
  background: var(--oliva);
  color: white;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social img {
  width: 26px;
  transition: 0.3s ease;
}


.footer-social img:hover {
  transform: scale(1.1);
}

.footer small {
  opacity: 0.8;
  font-size: 14px;
}

html {
  scroll-behavior: smooth;
}
