/* 
   Escuela Aníbal Pinto - Modern & Responsive Styles 
   Rebuilt to ensure zero layout shifting and perfect mobile adaptability.
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --primary: #2c3e50;
    /* Deep Blue */
    --primary-dark: #1a252f;
    --secondary: #3498db;
    /* Bright Blue */
    --accent: #e67e22;
    /* Orange */
    --accent-hover: #d35400;
    --text-main: #34495e;
    --text-light: #7f8c8d;
    --bg-light: #f9fbfd;
    --white: #ffffff;

    /* Effects */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    /* Critical to prevent horizontal scroll */
    width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
}

/* Robust Scroll Lock */
html.no-scroll,
body.no-scroll,
body.modal-open {
    overflow: hidden !important;
    height: 100vh !important;
    touch-action: none;
    /* Prevent touch scrolling on mobile */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

/* --- Header & Navigation --- */
header {
    background: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    height: 70px;
    /* Fixed height for consistency */
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary);
    position: relative;
    font-size: 0.95rem;
}

.nav-links a:not(.btn-intranet):after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:not(.btn-intranet):hover:after {
    width: 100%;
}

/* --- Dropdown Menu --- */
.dropdown {
    position: relative;
    padding-bottom: 10px;
    /* Bridge for hover area */
    margin-bottom: -10px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 25px;
    color: var(--text-main);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.dropdown-menu li a:hover {
    background: #f8f9fa;
    color: var(--accent);
    padding-left: 30px;
}

/* Remove underline effect for dropdown parent */
.dropdown>a:after {
    display: none;
}

.dropdown>a i {
    font-size: 0.8em;
    margin-left: 5px;
    transition: transform 0.3s;
}

.dropdown:hover>a i {
    transform: rotate(180deg);
}

.btn-intranet {
    background: var(--primary);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(44, 62, 80, 0.3);
}

.btn-intranet:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hamburger Menu (Hidden by default) */
.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 1001;
    /* Above mobile menu */
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: url('../img/fondo.webp') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(52, 73, 94, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary-glow {
    cursor: pointer;
    background: var(--accent);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(230, 126, 34, 0.5);
    transition: var(--transition);
}

.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(230, 126, 34, 0.8);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-secondary-outline {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    margin-top: 30px;
    /* Added spacing from content above */
}

.btn-secondary-outline:hover {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    transform: translateY(-2px);
}

/* --- Internal Pages Hero --- */
.hero-internal {
    position: relative;
    height: 40vh;
    /* Shorter height for internal pages */
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: url('../img/fondo.webp') no-repeat center center/cover;
    margin-top: 0;
}

.hero-internal .hero-content {
    padding-top: 60px;
    /* Offset for fixed header */
}

/* --- Stats Section --- */
.stats-section {
    position: relative;
    z-index: 3;
    margin-top: -50px;
    padding-bottom: 50px;
}

.stats-grid {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 40px;
}

.stat-item {
    text-align: center;
    padding: 0 20px;
    border-right: 1px solid #eee;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--text-light);
}

/* --- Common Sections --- */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background: var(--bg-light);
}

.text-center {
    text-align: center;
}

.section-title {
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto 20px;
    border-radius: 2px;
}

/* --- About --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(52, 152, 219, 0.1);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-card:hover .icon-wrapper {
    background: var(--secondary);
    color: var(--white);
}

/* --- News --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-image-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover img {
    transform: scale(1.1);
}

.news-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.news-body {
    padding: 25px;
}

.news-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.news-body h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.btn-text {
    background: none;
    border: none;
    color: var(--secondary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
}

/* --- Utility for Modal --- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-window {
    background: var(--white);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: var(--radius);
    padding: 40px;
    position: relative;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal-backdrop.active .modal-window {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    border: none;
    background: none;
}

/* --- Footer Redesign --- */
footer {
    background: #1a252f;
    /* Deep Dark Blue */
    color: #bdc3c7;
    padding: 80px 0 30px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

footer a {
    color: #bdc3c7;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Column 1: Branding */
.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-desc {
    line-height: 1.8;
    color: #95a5a6;
    max-width: 350px;
}

/* Column 2 & 3: Headers */
.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

/* Links List */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li i {
    font-size: 0.8rem;
    color: var(--accent);
}

/* Contact List */
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-list li i {
    color: var(--accent);
    margin-top: 5px;
}

/* Social Links */
.social-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    padding: 0 !important;
    /* Override standard link padding */
}

.social-btn:hover {
    background: var(--accent);
    transform: translateY(-3px);
    color: white;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
}

.designer-credit {
    color: #7f8c8d;
}

.designer-credit i {
    color: #e74c3c;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsiveness for Footer */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 20px;
    }

    .footer-desc {
        margin: 0 auto;
    }

    .footer-col h3 {
        display: inline-block;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col ul li a {
        justify-content: center;
    }

    .contact-list li {
        justify-content: center;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Workshop Cards --- */
.workshop-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.workshop-details {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: left;
}

.workshop-details span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.workshop-details i {
    color: var(--accent);
    width: 20px;
    text-align: center;
}

/* --- Workshops Teaser --- */
.workshops-teaser {
    background: linear-gradient(135deg, var(--primary) 0%, #34495e 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    margin-top: 50px;
}

.teaser-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.teaser-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* 
   ========================================
   MOBILE RESPONSIVENESS (Media Queries) 
   ========================================
*/
@media (max-width: 768px) {

    /* 1. Header & Navigation */
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        /* Absolute Full screen overlay */
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        /* Solid white */
        flex-direction: column;
        justify-content: center;
        gap: 30px;

        /* Animation Logic */
        transform: translateX(100%);
        /* Completely off screen */
        transition: transform 0.4s ease-in-out;
        z-index: 999;
        /* Below Hamburger */
    }

    .nav-links.active {
        transform: translateX(0);
        /* On screen */
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    /* 2. Hero Section */
    .dropdown {
        padding-bottom: 0;
        margin-bottom: 0;
        width: 100%;
        text-align: center;
    }

    /* Hide PDF embed on mobile to avoid touch conflicts */
    .pdf-container {
        display: none !important;
    }

    .mobile-pdf-alert {
        display: block;
        margin-bottom: 20px;
        padding: 15px;
        background-color: #f8f9fa;
        border-left: 4px solid var(--accent);
        border-radius: 4px;
        font-size: 0.95rem;
        color: var(--text-main);
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: #f9f9f9;
        display: none;
        /* Hidden by default on mobile, toggled with JS or :hover if supported */
        padding: 10px 0;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    /* Only allow hover on devices that support it (desktops) */
    @media (hover: hover) {
        .dropdown:hover .dropdown-menu {
            display: block;
        }
    }

    .dropdown-menu li a {
        padding: 10px 0;
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        padding: 0 40px;
    }

    /* 3. Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 25px 0;
    }

    /* 4. Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section p {
        justify-content: center;
    }
}

/* Lightbox Styles */
#galleryLightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#galleryLightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white !important;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s;
    z-index: 10001;
}

.lightbox-close:hover {
    color: #ccc !important;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white !important;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 4px;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

/* Responsiveness for Lightbox */
@media (max-width: 768px) {
    .lightbox-prev {
        left: 10px;
        /* Inside screen */
        background: rgba(0, 0, 0, 0.5);
    }

    .lightbox-next {
        right: 10px;
        /* Inside screen */
        background: rgba(0, 0, 0, 0.5);
    }

    .lightbox-close {
        top: -40px;
        right: 10px;
    }

    .lightbox-content img {
        max-height: 80vh;
    }
}

/* --- Contact Page Styles --- */
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/fondo.webp');
    background-size: cover;
    background-position: center;
}

.contact-page-section {
    background-color: #f9f9f9;
}

.contact-grid-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Contact Form */
.contact-form-container {
    padding: 40px;
}

.section-title-left h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.title-line {
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin-bottom: 30px;
    border-radius: 2px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.btn-submit {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.btn-submit:hover {
    background: #c0392b;
    /* Darker accent */
    transform: translateY(-2px);
}

/* Contact Info Side */
.contact-info-container {
    background: var(--primary-dark);
    color: white;
    display: flex;
    flex-direction: column;
}

.info-card {
    padding: 40px;
    flex-grow: 1;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.info-card h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.9);
}

.info-text p,
.info-text a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-text a:hover {
    color: var(--accent);
}

.map-container {
    height: 300px;
    width: 100%;
}

/* Responsive Contact */
@media (max-width: 900px) {
    .contact-grid-layout {
        grid-template-columns: 1fr;
    }

    .contact-form-container,
    .info-card {
        padding: 30px;
    }
}

/* Hide mobile alert on larger screens (Desktop) */
@media (min-width: 901px) {
    .mobile-pdf-alert {
        display: none !important;
    }
}

/* --- External Links Section --- */
.links-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 40px;
}

.link-item {
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
    background: white;
    padding: 10px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.link-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.link-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .links-grid {
        gap: 20px;
    }

    .link-item {
        width: 150px;
        height: 80px;
        filter: none;
        /* No grayscale on mobile as hover doesn't exist */
        opacity: 1;
    }
}