@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --pink: #E91E63;
    --pink-light: #FCE4EC;
    --mint: #00BFA5;
    --vanilla: #FFF8E1;
    --chocolate: #4E342E;
    --strawberry: #F48FB1;
    --blueberry: #7C4DFF;
    --caramel: #FF8F00;
    --white: #FFFFFF;
    --dark: #1A1A2E;
    --gray-light: #F5F5F5;
    --shadow: 0 10px 40px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 60px rgba(0,0,0,0.15);
    --radius: 20px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--pink);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--pink), var(--strawberry));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark);
    transition: var(--transition);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--pink);
    border-radius: 2px;
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

.nav a:hover {
    color: var(--pink);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--dark);
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--pink-light) 0%, var(--vanilla) 50%, #E8F5E9 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(233,30,99,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,191,165,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: var(--pink);
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 500px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--pink), #AD1457);
    color: white;
    box-shadow: 0 10px 30px rgba(233,30,99,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(233,30,99,0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--pink);
    border: 2px solid var(--pink);
}

.btn-secondary:hover {
    background: var(--pink);
    color: white;
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius);
    animation: floatImg 4s ease-in-out infinite;
}

@keyframes floatImg {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ===== PRODUCTS ===== */
.products {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-title .accent-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--pink), var(--mint));
    margin: 20px auto 0;
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-card .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--pink);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-img-wrapper {
    overflow: hidden;
    height: 220px;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.product-info p {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--pink);
}

/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--gray-light) 0%, var(--white) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    color: #555;
    margin-bottom: 15px;
}

.features-list {
    list-style: none;
    margin-top: 20px;
}

.features-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.features-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--mint);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

/* ===== MAP ===== */
.map-section {
    padding: 80px 0;
    background: var(--vanilla);
}

.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: #ccc;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--pink);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    text-align: center;
    font-size: 0.85rem;
}

/* ===== LEGAL PAGES ===== */
.legal-page {
    padding: 80px 0;
    min-height: 70vh;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--dark);
}

.legal-page h2 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--chocolate);
}

.legal-page h3 {
    font-size: 1.2rem;
    margin: 20px 0 10px;
    color: var(--dark);
}

.legal-page p, .legal-page li {
    color: #555;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.legal-page ul, .legal-page ol {
    padding-left: 25px;
    margin-bottom: 20px;
}

.legal-page .last-update {
    background: var(--gray-light);
    padding: 15px 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #666;
}

/* ===== TENENCIA PAGE ===== */
.tenencia-hero {
    background: linear-gradient(135deg, #1A237E 0%, #283593 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.tenencia-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.tenencia-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.tenencia-content {
    padding: 80px 0;
}

.tenencia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.tenencia-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--pink);
    transition: var(--transition);
}

.tenencia-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.tenencia-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.tenencia-card p {
    color: #666;
    font-size: 0.95rem;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.info-table th {
    background: var(--dark);
    color: white;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
}

.info-table td {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
}

.info-table tr:nth-child(even) {
    background: var(--gray-light);
}

.disclaimer-box {
    background: #FFF3E0;
    border: 1px solid #FFE0B2;
    border-radius: var(--radius);
    padding: 25px 30px;
    margin: 30px 0;
}

.disclaimer-box h4 {
    color: #E65100;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.disclaimer-box p {
    color: #555;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-text p { margin: 0 auto 30px; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .mobile-menu { display: block; }
    .nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    .hero { padding: 60px 0; }
    .hero-text h1 { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .tenencia-hero h1 { font-size: 2rem; }
}
