/* Reset básico */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1c1c1c;
    background-color: #ffffff;
    line-height: 1.6;
}

.displayNone {
    display: none;
}





/* Contenedor general */
.hero-container-header {
    background-color: #f7f4f0;
    /* color beige claro */
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.main-nav a {
    margin-left: 1.5rem;
    text-decoration: none;
    font-size: 0.95rem;
    color: #444444;
}

.main-nav a:hover {
    color: #000000;
}


.tituloFontsEspecial {
    font-family: "Nicevibes", cursive;
    color: rgb(85, 99, 70);
    font-size: 3.5rem;
}

.tituloFontsRamos {
    font-family: "Nicevibes", cursive;
    color: rgb(85, 99, 70);
    font-size: 25px;
}

.tipografiaEspecial{
    font-family: "Nicevibes", cursive;
    color: rgb(85, 99, 70);
    letter-spacing: 1px;
}

/* Secciones generales */
.section {
    padding: 4rem 0;
}

.section-light {
    background-color: #f7f7f7;
}

.section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: #777777;
}

/* Hero */

.hero-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 2rem;

}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.hero-title {
    font-size: 5rem;
    color: #6d7a52;
    /* tono verde como en tu imagen */
    line-height: 1.1;
    margin: 0;
    letter-spacing: 6px;
}

.hero-logo {
    width: 220px;
    max-width: 100%;
}

.hero-right .hero-flowers {
    width: 450px;
    max-width: 100%;
    opacity: 0;
    transform: translateX(80px);
    animation: slideInRight 1s ease-out forwards;
}

/* Animación */
@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 900px) {
    .hero-banner {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        padding: 3rem 2rem;

    }

    .hero-left {
        align-items: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-logo {
        width: 150px;
    }

    .hero-right .hero-flowers {
        width: 250px;
    }
}


@media (max-width: 600px) {

    .hero-right {
        display: none;
    }

    .hero-banner {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        padding: 3rem 2rem;
    }

    .hero-left {
        display: contents;
        align-items: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-logo {
        width: 150px;
    }

    .hero-right .hero-flowers {
        width: 300px;
    }
}



.hero {
    background-color: #ffffff;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hero-text h1 {
    /* font-size: 2.5rem;
  margin-bottom: 0.75rem; */
    font-family: "Nicevibes", cursive;
    color: rgb(85, 99, 70);
    font-size: 3.5rem;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #777777;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 0.98rem;
    color: #555555;
    margin-bottom: 1.5rem;
}

/* Botón principal */
.btn-primary {
    display: inline-block;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    border: 1px solid #1c1c1c;
    background-color: transparent;
    cursor: pointer;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.btn-primary:hover {
    background-color: #1c1c1c;
    color: #ffffff;
}

/* Tarjetas de ramos */
.hero-ramo-grid,
.ramo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.ramo-card {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.section-light .ramo-card {
    background-color: #fbfbfb;
}

.ramo-image-placeholder {
    /* border: 1px dashed #cccccc; */
    padding: 1rem 1rem;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999999;
}

.ramo-text {
    font-size: 0.9rem;
    color: #555555;
}

/* About */
.about-container {
    max-width: 700px;
}

.about-container h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-container p {
    font-size: 0.98rem;
    color: #555555;
}

/* Contacto */
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-header h2 {
    font-size: 2rem;
}

.contact-subtitle {
    font-size: 1rem;
    color: #777777;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.5rem;
}

.contact-item h3 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.35rem;
}

.contact-item p {
    font-size: 0.95rem;
    color: #444444;
}

/* Footer */
.main-footer {
    border-top: 1px solid #e5e5e5;
    background-color: #ffffff;
}

.footer-container {
    padding: 1rem 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: #777777;
}

/* Responsivo */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-ramo-grid,
    .ramo-grid {
        grid-template-columns: 1fr 1fr;
    }

    .main-nav a {
        margin-left: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-ramo-grid,
    .ramo-grid {
        grid-template-columns: 1fr;
    }

    .header-container {
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
        height: auto;
        padding: 0.75rem 0;
    }

    .main-nav a {
        margin-left: 0.75rem;
    }
}


.ramo-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  background: #d4f6ae;
  color: #000000;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.ramo-btn:hover {
  background: #556346;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}



/* Layout desktop: mayor a 900px */
@media (min-width: 901px) {
  .modal-info-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 300px; /* ajusta según tu modal */
  }

  /* Columna izquierda (imagen) */
  .info-left {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
  }

  .info-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* Si usas texto “Imagen” como placeholder */
  .info-image-placeholder {
    font-size: 2.5rem;
    font-weight: 700;
  }

  /* Línea divisoria vertical entre columnas */
  .info-right {
    border-left: 1px solid #000; /* línea como la de tu diseño */
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }

  /* Bloques de texto */
  .info-block {
    text-align: left;
  }

  .info-title {
    font-size: 2.2rem; /* Título grande */
    font-weight: 700;
    margin-bottom: 0.3rem;
  }

  .info-text {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0;
  }
}

/* Aquí después podremos meter tu otro diseño: */

@media (max-width: 900px) {

    .modal-info-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 1rem;
        text-align: center;
    }

    /* Imagen arriba */
    .info-left {
        order: 1;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .info-image {
        max-width: 80%;
        height: auto;
    }

    /* Línea horizontal */
    .mobile-divider {
        order: 2;
        width: 80%;
        height: 2px;
        background-color: #000;
        margin: 1.5rem 0;
    }

    /* Contenedor de textos lado a lado */
    .info-right {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: space-around;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 1rem;
        border-left: none; /* se elimina la línea vertical del diseño desktop */
    }

    /* Cada bloque (título + texto) */
    .info-block {
        text-align: center;
        width: 100%;
    }

    .info-title {
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 0.3rem;
    }

    .info-text {
        font-size: 1.2rem;
        font-weight: 500;
        margin: 0;
    }
}