/* ===========================
   ESTILOS GLOBALES - LILIUM DE ROSE
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d946a6;
    --secondary-color: #f97316;
    --success-color: #22c55e;
    --danger-color: #ef4444;
    --light-bg: #faf5ff;
    --dark-text: #1f2937;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html, body {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
}

body {
    background-color: #fafdfc;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   NAVEGACIÓN
   =========================== */

.navbar {
    background: white;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 1.8rem;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.navbar-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.navbar-menu .btn-cta {
    background: var(--primary-color);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    border-bottom: none;
}

.navbar-menu .btn-cta:hover {
    background: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-text);
    margin: 5px 0;
    transition: var(--transition);
}

/* ===========================
   BOTONES
   =========================== */

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #c2185b;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-success {
    background: var(--success-color);
    color: white;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    background: linear-gradient(135deg, #fdf2f8 0%, #f3e8ff 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.hero .btn {
    margin: 0 0.5rem;
}

.hero-background {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 300px;
    opacity: 0.1;
    z-index: 1;
}

.rose-illustration {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===========================
   SECCIONES DE CONTENIDO
   =========================== */

section {
    padding: 60px 0;
}

section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

h4 {
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

/* ===========================
   GRILLAS DE SERVICIOS
   =========================== */

.services-grid,
.products-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card,
.product-card,
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover,
.product-card:hover,
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(217, 70, 166, 0.15);
}

.service-image,
.product-image,
.blog-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #fdf2f8 0%, #f3e8ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.service-content,
.product-content,
.blog-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.service-content h3,
.product-content h3,
.blog-content h3 {
    margin-bottom: 0.5rem;
    min-height: 3rem;
}

.service-content p,
.product-content p,
.blog-content p {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.service-price {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #9ca3af;
}

.blog-category {
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-align: center;
}

.service-card a,
.product-card a,
.blog-card a {
    text-decoration: none;
}

/* ===========================
   TESTIMONIOS
   =========================== */

.testimonials {
    background: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stars {
    color: #fbbf24;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* ===========================
   NEWSLETTER
   =========================== */

.newsletter {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.newsletter h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.newsletter p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
}

.small-text {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ===========================
   FORMULARIOS
   =========================== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 70, 166, 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group.checkbox input {
    width: auto;
    margin: 0;
}

.form-group.checkbox label {
    margin: 0;
    display: inline;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

.form-message.show {
    display: block;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border-left: 4px solid var(--danger-color);
}

/* ===========================
   LANDING PAGE
   =========================== */

.landing-section {
    background: var(--light-bg);
    padding: 60px 0;
}

.landing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.landing-content h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefits {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.landing-form-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.landing-form h2 {
    text-align: left;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* ===========================
   CONTACTO
   =========================== */

.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.contact-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.contact-card p {
    margin: 0;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-form h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

/* ===========================
   ABOUT SECTION
   =========================== */

.about-section {
    padding: 60px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: #6b7280;
    line-height: 1.8;
}

.about-image,
.placeholder-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #fdf2f8 0%, #f3e8ff 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 150px;
    box-shadow: var(--shadow);
}

.mission-vision {
    background: var(--light-bg);
    padding: 60px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.value-card h3 {
    margin-bottom: 1rem;
}

.value-card p {
    color: #6b7280;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* ===========================
   SERVICIOS PAGE
   =========================== */

.services-section,
.products-section {
    padding: 60px 0;
}

.services-list {
    display: grid;
    gap: 2rem;
}

.full-service {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.full-service-image {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #fdf2f8 0%, #f3e8ff 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.full-service-content h3 {
    margin-top: 0;
}

.full-service-price {
    text-align: right;
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.full-service-price small {
    display: block;
    font-size: 0.9rem;
    color: #6b7280;
}

.products-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.product-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(217, 70, 166, 0.2);
}

.product-item-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #fdf2f8 0%, #f3e8ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
}

.product-item-content {
    padding: 1.5rem;
}

.product-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.product-item-price {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 700;
}

/* ===========================
   BLOG PAGE
   =========================== */

.blog-controls {
    background: var(--light-bg);
    padding: 2rem 0;
}

.search-box {
    margin-bottom: 1.5rem;
}

.search-box input {
    width: 100%;
    max-width: 500px;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.category-filter {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ===========================
   ARTICLE DETAIL
   =========================== */

.article-hero {
    padding: 40px 0;
}

.article-section {
    padding: 40px 0;
}

.article-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.article-main {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.article-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    color: #6b7280;
    font-size: 0.95rem;
}

.article-body {
    color: #6b7280;
    line-height: 1.8;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body h3 {
    margin-top: 2rem;
}

.comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.comments-list {
    margin: 2rem 0;
}

.comment {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.comment-author {
    font-weight: 600;
    color: var(--primary-color);
}

.comment-date {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-left: 1rem;
}

.comment-text {
    margin-top: 0.5rem;
    color: #6b7280;
}

.comment-form {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.article-sidebar {
    top: 80px;
    position: sticky;
}

.sidebar-widget {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 12px;
}

.sidebar-widget h4 {
    margin-bottom: 1rem;
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-article-item {
    padding: 0.75rem;
    border-radius: 8px;
    background: white;
    text-decoration: none;
    color: var(--dark-text);
    transition: var(--transition);
    border-left: 3px solid var(--primary-color);
}

.related-article-item:hover {
    background: white;
    transform: translateX(4px);
}

.related-article-title {
    font-weight: 600;
    font-size: 0.9rem;
}

.related-article-date {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* ===========================
   CTA SECTION
   =========================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ===========================
   FEATURES
   =========================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-8px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h4 {
    margin-bottom: 0.5rem;
}

.feature p {
    color: #6b7280;
}

/* ===========================
   WHY US SECTION
   =========================== */

.why-us {
    background: var(--light-bg);
    padding: 60px 0;
}

.why-us h2 {
    margin-bottom: 3rem;
}

/* ===========================
   TEAM SECTION
   =========================== */

.team-section {
    padding: 60px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-8px);
}

.member-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #fdf2f8 0%, #f3e8ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    margin: 0 auto 1rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #6b7280;
}

/* ===========================
   LOADING
   =========================== */

.loading {
    text-align: center;
    padding: 3rem;
    color: #9ca3af;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        z-index: 10;
    }

    .navbar-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-background {
        font-size: 150px;
    }

    .services-grid,
    .products-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .landing-grid,
    .contact-grid,
    .about-content {
        grid-template-columns: 1fr;
    }

    .full-service {
        grid-template-columns: 1fr;
    }

    .full-service-image {
        width: 100%;
    }

    .full-service-price {
        text-align: left;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .services-preview {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .navbar-brand a {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .services-list {
        gap: 1rem;
    }
}
