/* ============================================
   Estilos para Diócesis de Lázaro Cárdenas
   ============================================ */

/* Variables CSS */
:root {
    --primary-color: #1a5490;
    --secondary-color: #d4af37;
    --accent-color: #c41e3a;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* Header */
.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary-color);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
}

.social-links a {
    color: white;
    margin-left: 15px;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.header-main {
    padding: 20px 0;
}

.header-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    flex: 1;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.logo-link:hover {
    opacity: 0.9;
}

.logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 40px;
}

.logo-text {
    flex: 1;
}

.logo-text h1 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.tagline {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
    margin: 0;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation */
.main-nav {
    background: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    background: rgba(255,255,255,0.1);
}

.nav-menu > li.has-submenu > a::after {
    content: '';
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    min-width: 200px;
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.nav-menu > li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.submenu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 400px);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 84, 144, 0.85) 0%, rgba(42, 107, 168, 0.75) 100%);
    z-index: 2;
}

.hero-background-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a6ba8 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: center;
    padding: 60px 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-message {
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-message p {
    margin-bottom: 20px;
}

.hero-message strong {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background: #b8941f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--primary-color);
    color: white;
}

.btn-secondary:hover {
    background: #154275;
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

/* Quick Actions Section */
.quick-actions-section {
    padding: 80px 0;
    background: var(--bg-white);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.quick-action-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.quick-action-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.quick-action-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a6ba8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    transition: var(--transition);
}

.quick-action-card:hover .quick-action-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b8941f 100%);
    transform: scale(1.1);
}

.quick-action-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

/* About Section */
.about-section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

/* News Section */
.news-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.view-all-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.view-all-link:hover {
    color: var(--accent-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--bg-light);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.news-image-placeholder i {
    font-size: 64px;
    color: white;
    z-index: 2;
    position: relative;
    opacity: 0.9;
}

.news-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
}

.news-placeholder-1 {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a6ba8 100%);
}

.news-placeholder-1::before {
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 10 L60 30 L80 30 L65 45 L70 65 L50 55 L30 65 L35 45 L20 30 L40 30 Z' fill='white' opacity='0.1'/%3E%3C/svg%3E") repeat;
}

.news-placeholder-2 {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b8941f 100%);
}

.news-placeholder-2::before {
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='30' fill='white' opacity='0.1'/%3E%3C/svg%3E") repeat;
}

.news-placeholder-3 {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
}

.news-placeholder-3::before {
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 20 Q50 10 40 10 Q30 10 30 20 Q30 30 40 30 Q50 30 50 20' fill='white' opacity='0.1'/%3E%3C/svg%3E") repeat;
}

.news-card:hover .news-image-placeholder {
    transform: scale(1.05);
}

.news-card:hover .news-image-placeholder i {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
    display: block;
}

.news-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 20px;
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent-color);
}

/* Events Section */
.events-section {
    padding: 60px 0;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.event-item:hover {
    box-shadow: var(--shadow-hover);
}

.event-date {
    text-align: center;
    background: var(--primary-color);
    color: white;
    padding: 15px;
    border-radius: 10px;
    min-width: 80px;
}

.event-day {
    display: block;
    font-size: 32px;
    font-weight: bold;
}

.event-month {
    display: block;
    font-size: 14px;
}

.event-details h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.event-details p {
    color: var(--text-light);
    margin-bottom: 5px;
}

/* Contact CTA Section */
.contact-cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a6ba8 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a6ba8 100%);
    color: white;
    padding: 40px 0;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.breadcrumb {
    font-size: 14px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* News Page */
.news-page-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.news-article-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.news-article-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--bg-light);
}

.news-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-article-image .news-image-placeholder {
    height: 100%;
}

.news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
}

.news-article-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.news-article-content h2 {
    margin-bottom: 15px;
}

.news-article-content h2 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.news-article-content h2 a:hover {
    color: var(--accent-color);
}

.pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 40px;
}

.page-link {
    padding: 10px 15px;
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
}

.page-link:hover,
.page-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Sidebar */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.category-list,
.recent-news-list {
    list-style: none;
}

.category-list li,
.recent-news-list li {
    margin-bottom: 10px;
}

.category-list a,
.recent-news-list a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
}

.category-list a:hover,
.recent-news-list a:hover {
    color: var(--primary-color);
}

.recent-date {
    font-size: 12px;
    color: var(--text-light);
}

/* Diocesis Page */
.diocesis-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.diocesis-main h2,
.diocesis-main h3 {
    color: var(--primary-color);
    margin: 30px 0 15px;
}

.diocesis-main p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.diocesis-structure {
    list-style: none;
    margin: 20px 0;
}

.diocesis-structure li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.mission-box,
.vision-box {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.mission-box h4,
.vision-box h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.diocesis-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
}

.stat-icon {
    font-size: 32px;
    color: var(--primary-color);
}

.stat-info strong {
    display: block;
    font-size: 20px;
    color: var(--primary-color);
}

.stat-info span {
    font-size: 14px;
    color: var(--text-light);
}

.related-links {
    list-style: none;
}

.related-links li {
    margin-bottom: 10px;
}

.related-links a {
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.related-links a:hover {
    color: var(--primary-color);
}

/* Obispo Page */
.obispo-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.obispo-header {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.obispo-image {
    flex-shrink: 0;
    position: relative;
}

.obispo-image img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: block;
}

.obispo-image-placeholder {
    width: 200px;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a6ba8 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.obispo-image-placeholder i {
    font-size: 80px;
    color: white;
    opacity: 0.8;
}

.obispo-info h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.obispo-title {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.obispo-contact p {
    margin-bottom: 10px;
    color: var(--text-light);
}

.obispo-biography h3 {
    color: var(--primary-color);
    margin: 30px 0 15px;
}

.obispo-message {
    background: var(--bg-light);
    padding: 25px;
    border-left: 4px solid var(--primary-color);
    margin: 30px 0;
    font-style: italic;
}

.obispo-message cite {
    display: block;
    margin-top: 15px;
    font-style: normal;
    text-align: right;
    color: var(--text-light);
}

.activities-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.activity-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.activity-date {
    font-weight: bold;
    color: var(--primary-color);
    min-width: 120px;
}

.activity-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.audience-info {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.audience-info p {
    margin-bottom: 10px;
}

.pastoral-letters {
    list-style: none;
}

.pastoral-letters li {
    margin-bottom: 10px;
}

.pastoral-letters a {
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.pastoral-letters a:hover {
    color: var(--primary-color);
}

/* Parroquias Page */
.parroquias-intro {
    text-align: center;
    margin: 40px 0;
    font-size: 18px;
    color: var(--text-light);
}

.parroquias-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.search-input,
.filter-select {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    flex: 1;
    min-width: 200px;
}

.parroquias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.parroquia-card {
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.parroquia-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.parroquia-header {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.parroquia-header h3 {
    margin: 0;
    font-size: 20px;
}

.parroquia-zona {
    background: rgba(255,255,255,0.2);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}

.parroquia-body {
    padding: 20px;
}

.parroquia-body p {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.parroquia-parroco,
.parroquia-direccion,
.parroquia-telefono {
    display: flex;
    align-items: start;
    gap: 10px;
}

.parroquia-horarios {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.parroquia-horarios strong {
    display: block;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.parroquia-footer {
    padding: 0 20px 20px;
}

/* Oficinas Page */
.oficinas-intro {
    text-align: center;
    margin: 40px 0;
    font-size: 18px;
    color: var(--text-light);
}

.oficinas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.oficina-card {
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.oficina-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.oficina-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.oficina-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.oficina-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.oficina-contact p {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-dark);
}

/* Contact Page */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    font-size: 32px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-text h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-map {
    margin-top: 40px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-form-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 84, 144, 0.1);
}

/* Footer */
.main-footer {
    background: var(--text-dark);
    color: white;
    margin-top: 60px;
}

.footer-content {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-column p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #ccc;
}

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

.footer-social a {
    color: white;
    font-size: 20px;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    display: flex;
    align-items: start;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-top: 5px;
}

.footer-bottom {
    background: #1a1a1a;
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Curia Page */
.curia-content {
    padding: 40px 0;
}

.curia-main h2,
.curia-main h3 {
    color: var(--primary-color);
    margin: 30px 0 15px;
}

.curia-structure {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.curia-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.curia-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.curia-contact {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
}

.curia-contact p {
    margin-bottom: 10px;
}

/* Seminario Page */
.seminario-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.seminario-main h2,
.seminario-main h3 {
    color: var(--primary-color);
    margin: 30px 0 15px;
}

.etapas-formacion {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.etapa-item {
    display: flex;
    gap: 20px;
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.etapa-icon {
    font-size: 32px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.etapa-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.seminario-cta {
    margin: 30px 0;
    text-align: center;
}

.seminario-contact {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.seminario-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Pastoral Pages */
.pastoral-page-section {
    padding: 40px 0;
}

.pastoral-content {
    max-width: 800px;
    margin: 0 auto;
}

.pastoral-content h2,
.pastoral-content h3 {
    color: var(--primary-color);
    margin: 30px 0 15px;
}

.pastoral-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.pastoral-objectives {
    list-style: none;
    margin: 20px 0;
}

.pastoral-objectives li {
    padding: 10px 0 10px 30px;
    position: relative;
    margin-bottom: 10px;
}

.pastoral-objectives li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.pastoral-content ul:not(.pastoral-objectives) {
    margin: 20px 0;
    padding-left: 30px;
}

.pastoral-content ul:not(.pastoral-objectives) li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.pastoral-intro {
    margin-bottom: 40px;
}

.pastoral-hero-image {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.pastoral-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pastoral-hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a6ba8 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.pastoral-hero-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='2' fill='white' opacity='0.1'/%3E%3C/svg%3E") repeat;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.pastoral-hero-placeholder i {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.pastoral-hero-placeholder h3 {
    font-size: 32px;
    margin-bottom: 10px;
    color: white;
    position: relative;
    z-index: 2;
}

.pastoral-hero-placeholder p {
    font-size: 18px;
    opacity: 0.9;
    margin: 0;
    position: relative;
    z-index: 2;
}

.pastoral-intro .lead {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.pastoral-section {
    margin-bottom: 50px;
}

.pastoral-definition-box {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    margin: 20px 0;
}

.pastoral-definition-box ul {
    margin-top: 15px;
    padding-left: 20px;
}

.pastoral-definition-box li {
    margin-bottom: 15px;
    line-height: 1.8;
}

.pastoral-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.feature-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a6ba8 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.feature-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.feature-content p {
    margin: 0;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.service-card {
    background: white;
    padding: 0;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--secondary-color);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-image-placeholder i {
    font-size: 64px;
    color: white;
    z-index: 2;
    position: relative;
    opacity: 0.9;
}

.service-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    z-index: 1;
    background-size: 50px 50px;
}

.service-placeholder-1::before {
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M25 5 L30 20 L45 20 L32 30 L37 45 L25 35 L13 45 L18 30 L5 20 L20 20 Z' fill='white'/%3E%3C/svg%3E");
}

.service-placeholder-2::before {
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='25' cy='25' r='15' fill='white'/%3E%3C/svg%3E");
}

.service-placeholder-3::before {
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='10' width='30' height='30' fill='white'/%3E%3C/svg%3E");
}

.service-placeholder-4::before {
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M25 5 Q25 15 35 15 Q25 15 25 25 Q25 15 15 15 Q25 15 25 5' fill='white'/%3E%3C/svg%3E");
}

.service-placeholder-1 {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a6ba8 100%);
}

.service-placeholder-2 {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b8941f 100%);
}

.service-placeholder-3 {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
}

.service-placeholder-4 {
    background: linear-gradient(135deg, #c41e3a 0%, #e63950 100%);
}

.service-card-content {
    padding: 30px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a6ba8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -30px auto 20px;
    color: white;
    font-size: 24px;
    transition: var(--transition);
    position: relative;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b8941f 100%);
    transform: scale(1.1);
}

.service-card-content {
    padding: 0 30px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
    margin-top: 0;
}

.service-card p {
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
    flex: 1;
}

.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.task-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.task-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateX(5px);
}

.task-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.task-item h4 i {
    color: var(--secondary-color);
}

.task-item p {
    line-height: 1.8;
    margin: 0;
}

.action-steps {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.steps-list {
    margin: 20px 0;
    padding-left: 25px;
}

.steps-list li {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 16px;
}

.steps-list li strong {
    color: var(--primary-color);
}

.note {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 25px;
    border-left: 4px solid var(--secondary-color);
    font-style: italic;
}

.pastoral-contact {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    border-left: 4px solid var(--primary-color);
}

.pastoral-contact h3 {
    margin-top: 0;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pastoral-contact p {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert i {
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: relative;
    }
    
    .nav-menu {
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 100vw;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile */
        background: var(--primary-color);
        box-shadow: var(--shadow);
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 9999;
        padding: 80px 20px 20px;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        visibility: hidden;
        opacity: 0;
    }
    
    .nav-menu.active {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Prevenir scroll del body cuando el menú está abierto */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu > li > a {
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        font-size: 16px;
    }
    
    .nav-menu > li.has-submenu > a::after {
        content: '';
    }
    
    .nav-menu > li.has-submenu > a i {
        transition: transform 0.3s ease;
        margin-left: 10px;
        flex-shrink: 0;
    }
    
    .nav-menu > li.has-submenu > a.active i {
        transform: rotate(180deg);
    }
    
    .submenu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: translateY(-10px);
        box-shadow: none;
        background: rgba(0,0,0,0.15);
        list-style: none;
        margin: 0;
        padding: 0;
        transition: opacity 0.3s ease, max-height 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }
    
    .submenu.active {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        transform: translateY(0);
        padding: 10px 0;
    }
    
    .submenu li {
        width: 100%;
    }
    
    .submenu li a {
        padding: 12px 40px;
        display: block;
        color: rgba(255, 255, 255, 0.9);
        font-size: 15px;
    }
    
    .submenu li a:hover,
    .submenu li a:active {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }
    
    .hero-section {
        min-height: 500px;
        height: 60vh;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .hero-message {
        font-size: 16px;
    }
    
    .quick-actions-section {
        margin-top: -30px;
        padding: 60px 0;
    }
    
    .about-content,
    .news-page-content,
    .diocesis-content,
    .obispo-content,
    .contact-content,
    .seminario-content {
        grid-template-columns: 1fr;
    }
    
    .curia-structure,
    .etapas-formacion {
        grid-template-columns: 1fr;
    }
    
    .obispo-header {
        flex-direction: column;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .parroquias-grid,
    .oficinas-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
    
    .tagline {
        font-size: 12px;
    }
    
    .logo-img,
    .logo-icon {
        width: 60px;
        height: 60px;
    }
    
    .logo-icon {
        font-size: 30px;
    }
    
    .hero-section {
        min-height: 400px;
        height: 50vh;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-message {
        font-size: 14px;
    }
    
    .quick-action-card {
        padding: 30px 20px;
    }
    
    .quick-action-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .quick-action-card h3 {
        font-size: 18px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .momentos-grid,
    .tres-a-grid,
    .fundamentos-grid,
    .lugares-grid,
    .actividades-vocacionales,
    .mistica-grid,
    .dimensiones-grid {
        grid-template-columns: 1fr;
    }
    
    .momento-card,
    .a-card,
    .lugar-card,
    .actividad-card,
    .dimension-card {
        margin-bottom: 20px;
    }
    
    .objetivo-comunicacion {
        flex-direction: column;
        text-align: center;
    }
    
    .objetivo-icon {
        margin: 0 auto;
    }
}

/* Momentos de Pastoral Familiar */
.momentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.momento-card {
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.momento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.momento-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.momento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.momento-card:hover .momento-image img {
    transform: scale(1.1);
}

.momento-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.momento-image-placeholder i {
    font-size: 64px;
    color: white;
    z-index: 2;
    position: relative;
    opacity: 0.9;
}

.momento-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    z-index: 1;
}

.momento-placeholder-1 {
    background: linear-gradient(135deg, #e63950 0%, #c41e3a 100%);
}

.momento-placeholder-1::before {
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M25 5 Q30 15 40 15 Q30 15 25 25 Q20 15 10 15 Q20 15 25 5' fill='white'/%3E%3C/svg%3E");
    background-size: 50px 50px;
}

.momento-placeholder-2 {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b8941f 100%);
}

.momento-placeholder-2::before {
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='25' cy='25' r='15' fill='white'/%3E%3C/svg%3E");
    background-size: 50px 50px;
}

.momento-placeholder-3 {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a6ba8 100%);
}

.momento-placeholder-3::before {
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M25 10 Q25 5 20 10 Q15 15 20 20 Q25 25 25 30 Q25 25 30 20 Q35 15 30 10 Q25 5 25 10' fill='white'/%3E%3C/svg%3E");
    background-size: 50px 50px;
}

.momento-content {
    padding: 25px;
}

.momento-content h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.momento-content h4 i {
    color: var(--secondary-color);
}

.momento-content p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.momento-cita {
    font-style: italic;
    color: var(--text-light);
    border-left: 3px solid var(--secondary-color);
    padding-left: 15px;
    margin-top: 15px;
}

/* Tres A Fundamentales */
.intro-text {
    font-size: 18px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-dark);
}

.tres-a-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.a-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.a-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--secondary-color);
}

.a-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a6ba8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
    transition: var(--transition);
}

.a-card:hover .a-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b8941f 100%);
    transform: scale(1.1) rotate(5deg);
}

.a-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 700;
}

.a-card p {
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

/* Programas y Actividades */
.programas-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.programa-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.programa-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateX(5px);
}

.programa-item i {
    font-size: 36px;
    color: var(--primary-color);
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}

.programa-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 20px;
}

.programa-item p {
    margin: 0;
    line-height: 1.8;
    color: var(--text-light);
}

/* Mensaje Final */
.pastoral-message-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a6ba8 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 40px 0;
    box-shadow: var(--shadow-hover);
}

.pastoral-message-box h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 28px;
}

.pastoral-message-box p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: white;
}

.pastoral-message-box strong {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Fundamentos de Pastoral Vocacional */
.fundamentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.fundamento-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.fundamento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--secondary-color);
}

.fundamento-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a6ba8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    transition: var(--transition);
}

.fundamento-card:hover .fundamento-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b8941f 100%);
    transform: scale(1.1);
}

.fundamento-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.fundamento-card p {
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

/* Lugares de Pastoral Vocacional */
.lugares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.lugar-card {
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.lugar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.lugar-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.lugar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.lugar-card:hover .lugar-image img {
    transform: scale(1.1);
}

.lugar-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lugar-image-placeholder i {
    font-size: 64px;
    color: white;
    z-index: 2;
    position: relative;
    opacity: 0.9;
}

.lugar-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    z-index: 1;
}

.lugar-placeholder-1 {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a6ba8 100%);
}

.lugar-placeholder-1::before {
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M25 5 L30 20 L45 20 L32 30 L37 45 L25 35 L13 45 L18 30 L5 20 L20 20 Z' fill='white'/%3E%3C/svg%3E");
    background-size: 50px 50px;
}

.lugar-placeholder-2 {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b8941f 100%);
}

.lugar-placeholder-2::before {
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='10' width='30' height='30' rx='3' fill='white'/%3E%3C/svg%3E");
    background-size: 50px 50px;
}

.lugar-placeholder-3 {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
}

.lugar-placeholder-3::before {
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='25' cy='25' r='15' fill='white'/%3E%3C/svg%3E");
    background-size: 50px 50px;
}

.lugar-placeholder-4 {
    background: linear-gradient(135deg, #e63950 0%, #c41e3a 100%);
}

.lugar-placeholder-4::before {
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M25 10 Q25 5 20 10 Q15 15 20 20 Q25 25 25 30 Q25 25 30 20 Q35 15 30 10 Q25 5 25 10' fill='white'/%3E%3C/svg%3E");
    background-size: 50px 50px;
}

.lugar-content {
    padding: 25px;
}

.lugar-content h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lugar-content h4 i {
    color: var(--secondary-color);
}

.lugar-content p {
    line-height: 1.8;
    margin: 0;
}

/* Objetivos Vocacionales */
.objetivos-vocacionales {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.objetivo-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.objetivo-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateX(5px);
}

.objetivo-item i {
    font-size: 36px;
    color: var(--primary-color);
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}

.objetivo-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 20px;
}

.objetivo-item p {
    margin: 0;
    line-height: 1.8;
    color: var(--text-light);
}

/* Actividades Vocacionales */
.actividades-vocacionales {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.actividad-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.actividad-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--secondary-color);
}

.actividad-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a6ba8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    transition: var(--transition);
}

.actividad-card:hover .actividad-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b8941f 100%);
    transform: scale(1.1);
}

.actividad-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.actividad-card p {
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

/* Cita Bíblica */
.cita-biblica {
    font-style: italic;
    color: var(--text-dark);
    border-left: 4px solid var(--secondary-color);
    padding-left: 20px;
    margin: 20px 0;
    font-size: 16px;
    line-height: 1.8;
}

/* Objetivo Comunicación */
.objetivo-comunicacion {
    display: flex;
    gap: 30px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    margin: 30px 0;
    align-items: center;
}

.objetivo-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a6ba8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
}

.objetivo-content h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 24px;
}

.objetivo-content p {
    line-height: 1.8;
    margin: 0;
    font-size: 16px;
}

/* Mística de Acción */
.mistica-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.mistica-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.mistica-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--secondary-color);
}

.mistica-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a6ba8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    transition: var(--transition);
}

.mistica-card:hover .mistica-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b8941f 100%);
    transform: scale(1.1);
}

.mistica-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.mistica-card p {
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

/* Dimensiones de Comunicación */
.dimensiones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.dimension-card {
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.dimension-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.dimension-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.dimension-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.dimension-card:hover .dimension-image img {
    transform: scale(1.1);
}

.dimension-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.dimension-image-placeholder i {
    font-size: 64px;
    color: white;
    z-index: 2;
    position: relative;
    opacity: 0.9;
}

.dimension-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    z-index: 1;
}

.dimension-placeholder-1 {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.dimension-placeholder-1::before {
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='10' width='30' height='30' rx='3' fill='white'/%3E%3C/svg%3E");
    background-size: 50px 50px;
}

.dimension-placeholder-2 {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a6ba8 100%);
}

.dimension-placeholder-2::before {
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='10' width='30' height='20' fill='white'/%3E%3C/svg%3E");
    background-size: 50px 50px;
}

.dimension-placeholder-3 {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.dimension-placeholder-3::before {
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='25' cy='25' r='15' fill='white'/%3E%3C/svg%3E");
    background-size: 50px 50px;
}

.dimension-placeholder-4 {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b8941f 100%);
}

.dimension-placeholder-4::before {
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='10' width='30' height='30' fill='white'/%3E%3C/svg%3E");
    background-size: 50px 50px;
}

.dimension-content {
    padding: 25px;
}

.dimension-content h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dimension-content h4 i {
    color: var(--secondary-color);
}

.dimension-content p {
    line-height: 1.8;
    margin: 0;
}

/* Áreas de Trabajo */
.areas-trabajo {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.area-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.area-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateX(5px);
}

.area-item i {
    font-size: 36px;
    color: var(--primary-color);
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}

.area-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 20px;
}

.area-item p {
    margin: 0;
    line-height: 1.8;
    color: var(--text-light);
}

