        :root {
            --color-primary: #2c5d63;
            --color-secondary: #a9c0a6;
            --color-accent: #e6d3a7;
            --color-light: #f8f5f0;
            --color-dark: #283739;
            --color-text: #333333;
            --color-light-text: #666666;
            --font-heading: 'Playfair Display', serif;
            --font-body: 'Montserrat', sans-serif;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: var(--font-body);
            color: var(--color-text);
            background-color: var(--color-light);
            line-height: 1.7;
            overflow-x: hidden;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><rect width="100%" height="100%" fill="%23f8f5f0"/><path d="M0,0 Q100,50 200,0 L200,200 Q100,150 0,200 Z" fill="%23e6d3a710"/><path d="M0,100 Q50,150 100,100 T200,100" stroke="%23a9c0a610" stroke-width="1" fill="none"/></svg>');
            background-size: cover;
            background-attachment: fixed;
        }
        
        h1, h2, h3, h4, h5 {
            font-family: var(--font-heading);
            font-weight: 600;
            color: var(--color-dark);
            letter-spacing: 0.5px;
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .btn {
            display: inline-block;
            padding: 14px 32px;
            background-color: var(--color-primary);
            color: white;
            border: none;
            border-radius: 30px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        .btn:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--color-dark);
            border-radius: 30px;
            z-index: -2;
        }
        
        .btn:before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0%;
            height: 100%;
            background-color: var(--color-accent);
            transition: all 0.3s;
            border-radius: 30px;
            z-index: -1;
        }
        
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        }
        
        .btn:hover:before {
            width: 100%;
        }
        
        .btn-light {
            background-color: transparent;
            border: 2px solid var(--color-primary);
            color: var(--color-primary);
        }
        
        .btn-light:before {
            background-color: var(--color-primary);
        }
        
        .btn-light:hover {
            color: white;
        }
        
        section {
            padding: 100px 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 60px;
            position: relative;
        }
        
        .section-title h2 {
            font-size: 2.8rem;
            display: inline-block;
            padding-bottom: 20px;
            margin-bottom: 15px;
        }
        
        .section-title h2:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: var(--color-accent);
            border-radius: 2px;
        }
        
        .section-subtitle {
            font-size: 1.2rem;
            color: var(--color-light-text);
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.8;
        }
        
        /* Admin Panel */
        #admin-panel {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1000;
        }
        
        .admin-toggle {
            background: var(--color-primary);
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 30px;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0,0,0,0.15);
            display: flex;
            align-items: center;
            gap: 10px;
            transition: all 0.3s ease;
        }
        
        .admin-toggle:hover {
            background: var(--color-dark);
            transform: translateY(-3px);
        }
        
        .admin-container {
            display: none;
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            max-width: 500px;
            height: 100vh;
            background: white;
            z-index: 2000;
            padding: 30px;
            overflow-y: auto;
            box-shadow: -5px 0 30px rgba(0,0,0,0.1);
        }
        
        .admin-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
        }
        
        .close-admin {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--color-primary);
        }
        
        .admin-section {
            margin-bottom: 40px;
        }
        
        .admin-section h3 {
            margin-bottom: 20px;
            color: var(--color-primary);
            position: relative;
            padding-bottom: 10px;
        }
        
        .admin-section h3:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--color-accent);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--color-dark);
        }
        
        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-family: var(--font-body);
            font-size: 16px;
            transition: all 0.3s ease;
        }
        
        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            border-color: var(--color-primary);
            outline: none;
            box-shadow: 0 0 0 3px rgba(44, 93, 99, 0.1);
        }
        
        .form-group textarea {
            min-height: 120px;
            resize: vertical;
        }
        
        .form-row {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .form-row .form-group {
            flex: 1;
            margin-bottom: 0;
        }
        
        .form-actions {
            display: flex;
            gap: 15px;
            margin-top: 30px;
        }
        
        .btn-admin {
            flex: 1;
            text-align: center;
        }
        
        .btn-save {
            background: var(--color-primary);
            color: white;
        }
        
        .btn-cancel {
            background: #eee;
            color: var(--color-text);
        }
        
        /* Login Modal */
        .login-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            z-index: 3000;
            justify-content: center;
            align-items: center;
        }
        
        .login-container {
            background: white;
            padding: 40px;
            border-radius: 15px;
            width: 100%;
            max-width: 400px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.2);
        }
        
        .login-header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .login-header h2 {
            color: var(--color-primary);
        }
        
        .login-form .form-group {
            margin-bottom: 25px;
        }
        
        .login-actions {
            margin-top: 30px;
        }
        
        /* Header */
        header {
            background: linear-gradient(rgba(40, 55, 57, 0.85), rgba(40, 55, 57, 0.9)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23f8f5f0"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="%23e6d3a7" stroke-width="1" opacity="0.1"/></svg>');
            background-size: cover;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        .hero-content {
            max-width: 900px;
            padding: 30px;
            z-index: 2;
        }
        
        .hero-content h1 {
            font-size: 4.5rem;
            margin-bottom: 20px;
            color: white;
            text-shadow: 0 2px 15px rgba(0,0,0,0.25);
            line-height: 1.2;
        }
        
        .hero-subtitle {
            font-size: 1.8rem;
            margin-bottom: 30px;
            font-weight: 300;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            color: var(--color-accent);
            font-style: italic;
        }
        
        .hero-quote {
            font-size: 1.2rem;
            margin: 40px auto 30px;
            max-width: 600px;
            padding: 20px;
            border-left: 3px solid var(--color-accent);
            text-align: left;
            background: rgba(255,255,255,0.05);
            border-radius: 0 10px 10px 0;
        }
        
        .memorial-name-display {
            margin: 50px auto;
            background: rgba(255,255,255,0.9);
            padding: 25px;
            border-radius: 15px;
            display: inline-block;
            box-shadow: 0 15px 40px rgba(0,0,0,0.2);
            border: 1px solid rgba(255,255,255,0.3);
            color: var(--color-dark);
            font-size: 1.5rem;
            font-weight: 600;
            text-align: center;
        }
        
        /* Biografía */
        #biografia {
            background-color: white;
            position: relative;
            overflow: hidden;
        }
        
        .bio-content {
            display: flex;
            flex-wrap: wrap;
            gap: 50px;
            align-items: center;
        }
        
        .bio-image {
            flex: 1;
            min-width: 350px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 25px 50px rgba(0,0,0,0.12);
            transform: rotate(-1deg);
            transition: transform 0.5s ease;
            border: 10px solid white;
        }
        
        .bio-image:hover {
            transform: rotate(0deg);
        }
        
        .bio-image img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.8s ease;
        }
        
        .bio-image:hover img {
            transform: scale(1.05);
        }
        
        .bio-text {
            flex: 2;
            min-width: 350px;
        }
        
        .bio-text h3 {
            font-size: 2.2rem;
            margin-bottom: 25px;
            color: var(--color-primary);
            position: relative;
            display: inline-block;
        }
        
        .bio-text h3:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--color-accent);
        }
        
        .bio-text p {
            margin-bottom: 25px;
            font-size: 1.15rem;
            color: var(--color-light-text);
        }
        
        .life-dates {
            font-size: 1.4rem;
            font-style: italic;
            color: var(--color-primary);
            margin-bottom: 30px;
            display: block;
            font-weight: 500;
        }
        
        /* Galería */
        #galeria {
            background-color: var(--color-light);
            position: relative;
        }
        
        .gallery-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .gallery-item {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 12px 30px rgba(0,0,0,0.1);
            position: relative;
            height: 320px;
            transition: all 0.4s ease;
        }
        
        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s ease;
        }
        
        .gallery-item:hover {
            transform: translateY(-15px);
            box-shadow: 0 20px 45px rgba(0,0,0,0.18);
        }
        
        .gallery-item:hover img {
            transform: scale(1.15);
        }
        
        .gallery-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(transparent, rgba(0,0,0,0.8));
            color: white;
            padding: 25px 20px 15px;
            opacity: 0;
            transform: translateY(15px);
            transition: all 0.4s ease;
        }
        
        .gallery-item:hover .gallery-caption {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Cronología */
        #cronologia {
            background-color: white;
            position: relative;
        }
        
        .timeline {
            position: relative;
            max-width: 900px;
            margin: 0 auto;
        }
        
        .timeline::after {
            content: '';
            position: absolute;
            width: 5px;
            background: linear-gradient(to bottom, var(--color-secondary), var(--color-primary));
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -2.5px;
            border-radius: 3px;
        }
        
        .timeline-item {
            padding: 25px 50px;
            position: relative;
            width: 50%;
            box-sizing: border-box;
        }
        
        .timeline-item:nth-child(odd) {
            left: 0;
        }
        
        .timeline-item:nth-child(even) {
            left: 50%;
        }
        
        .timeline-item::after {
            content: '';
            position: absolute;
            width: 24px;
            height: 24px;
            background-color: white;
            border: 5px solid var(--color-primary);
            top: 30px;
            border-radius: 50%;
            z-index: 1;
        }
        
        .timeline-item:nth-child(odd)::after {
            right: -14px;
        }
        
        .timeline-item:nth-child(even)::after {
            left: -14px;
        }
        
        .timeline-content {
            padding: 25px;
            background-color: var(--color-light);
            border-radius: 15px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.07);
            position: relative;
            transition: all 0.4s ease;
        }
        
        .timeline-content:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 25px rgba(0,0,0,0.12);
        }
        
        .timeline-year {
            font-weight: bold;
            color: var(--color-primary);
            margin-bottom: 15px;
            font-size: 1.3rem;
            display: flex;
            align-items: center;
        }
        
        .timeline-year i {
            margin-right: 10px;
            font-size: 1.2rem;
        }
        
        /* Condolencias */
        #condolencias {
            background-color: var(--color-light);
            position: relative;
        }
        
        .condolencias-container {
            max-width: 850px;
            margin: 0 auto;
        }
        
        .condolence-form {
            background: white;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.08);
            margin-bottom: 50px;
        }
        
        .condolence-messages {
            background: white;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.08);
        }
        
        .message {
            padding: 25px 0;
            border-bottom: 1px solid #f0f0f0;
            transition: all 0.3s ease;
        }
        
        .message:hover {
            background-color: #fcfcfc;
            transform: translateX(5px);
        }
        
        .message:last-child {
            border-bottom: none;
        }
        
        .message-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .message-author {
            font-weight: 600;
            color: var(--color-primary);
            font-size: 1.1rem;
        }
        
        .message-relationship {
            color: var(--color-secondary);
            font-style: italic;
            margin-left: 10px;
            font-size: 0.95rem;
        }
        
        .message-date {
            color: #888;
            font-size: 0.95rem;
        }
        
        /* Ubicación */
        #ubicacion {
            background-color: white;
            padding: 100px 0;
        }
        
        .location-container {
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
            align-items: center;
        }
        
        .location-info {
            flex: 1;
            min-width: 300px;
        }
        
        .location-map {
            flex: 1;
            min-width: 300px;
            height: 400px;
            background-color: #eee;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            position: relative;
        }
        
        .location-map::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 400"><rect width="600" height="400" fill="%23e6d3a7"/><path d="M300,150 Q400,100 500,150 L500,300 Q400,350 300,300 Z" fill="%232c5d63" opacity="0.3"/><circle cx="300" cy="200" r="30" fill="%23a9c0a6"/></svg>');
            background-size: cover;
        }
        
        .location-details {
            margin-top: 30px;
        }
        
        .location-item {
            display: flex;
            margin-bottom: 20px;
            align-items: flex-start;
        }
        
        .location-icon {
            font-size: 1.5rem;
            color: var(--color-primary);
            min-width: 40px;
            margin-top: 5px;
        }
        
        /* Footer */
        footer {
            background: linear-gradient(to bottom, var(--color-dark), #1a292b);
            color: white;
            padding: 80px 0 40px;
            position: relative;
        }
        
        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 50px;
            margin-bottom: 50px;
        }
        
        .footer-section {
            flex: 1;
            min-width: 250px;
        }
        
        .footer-section h3 {
            color: var(--color-accent);
            margin-bottom: 25px;
            font-size: 1.5rem;
            position: relative;
            padding-bottom: 15px;
        }
        
        .footer-section h3:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--color-accent);
        }
        
        .footer-links a {
            display: block;
            color: #ddd;
            margin-bottom: 15px;
            text-decoration: none;
            transition: all 0.3s ease;
            padding: 5px 0;
        }
        
        .footer-links a:hover {
            color: var(--color-accent);
            transform: translateX(8px);
        }
        
        .contact-info p {
            margin-bottom: 20px;
            display: flex;
            align-items: flex-start;
        }
        
        .contact-info i {
            margin-right: 15px;
            color: var(--color-accent);
            min-width: 25px;
            font-size: 1.1rem;
            margin-top: 5px;
        }
        
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            color: white;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }
        
        .social-links a:hover {
            background: var(--color-accent);
            color: var(--color-dark);
            transform: translateY(-5px);
        }
        
        .copyright {
            text-align: center;
            padding-top: 40px;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.95rem;
            color: #aaa;
        }
        
        /* Botón flotante */
        .floating-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: var(--color-primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            box-shadow: 0 5px 20px rgba(0,0,0,0.2);
            z-index: 1000;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .floating-btn:hover {
            background: var(--color-dark);
            transform: translateY(-5px) rotate(10deg);
        }
        
        /* Animaciones y efectos */
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
            100% { transform: translateY(0px); }
        }
        
        .floating {
            animation: float 8s ease-in-out infinite;
        }
        
        .fade-in {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }
        
        .fade-in.appear {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Decoraciones */
        .leaf-decoration {
            position: absolute;
            opacity: 0.1;
            z-index: 0;
        }
        
        .leaf-1 {
            top: 10%;
            left: 5%;
            width: 150px;
            transform: rotate(15deg);
        }
        
        .leaf-2 {
            bottom: 20%;
            right: 5%;
            width: 120px;
            transform: rotate(-20deg);
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .hero-content h1 {
                font-size: 3.5rem;
            }
            
            .hero-subtitle {
                font-size: 1.5rem;
            }
            
            .section-title h2 {
                font-size: 2.3rem;
            }
        }
        
        @media (max-width: 768px) {
            section {
                padding: 80px 0;
            }
            
            .hero-content h1 {
                font-size: 2.8rem;
            }
            
            .hero-subtitle {
                font-size: 1.3rem;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
            
            .timeline::after {
                left: 31px;
            }
            
            .timeline-item {
                width: 100%;
                padding-left: 70px;
                padding-right: 25px;
            }
            
            .timeline-item:nth-child(even) {
                left: 0;
            }
            
            .timeline-item::after {
                left: 21px !important;
            }
            
            .admin-container {
                width: 100%;
            }
        }
        
        @media (max-width: 576px) {
            .bio-image, .bio-text {
                min-width: 100%;
            }
            
            .gallery-container {
                grid-template-columns: 1fr;
            }
            
            .form-row {
                flex-direction: column;
                gap: 10px;
            }
        }