/* ===================================
   DANIEL VILLANUEVA ABOGADO - CSS
   Diseño profesional y de lujo
   Color principal: #1A2A4A (Azul empresarial)
   =================================== */

/* --- VARIABLES CSS --- */
:root {
    --primary-color: #1A2A4A;
    --secondary-color: #2C3E50;
    --accent-gold: #C4A053;
    --text-dark: #1A1A1A;
    --text-light: #FFFFFF;
    --text-gray: #666666;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-light: #E5E5E5;
    --shadow-sm: 0 2px 8px rgba(26, 42, 74, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 42, 74, 0.12);
    --shadow-lg: 0 8px 32px rgba(26, 42, 74, 0.16);
    --transition: all 0.3s ease;
}

/* --- RESET Y BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 42, 74, 0.98);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-menu li a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 280px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: 12px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid var(--border-light);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    color: var(--text-dark);
    padding: 16px 20px;
    display: block;
    font-size: 14px;
}

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

.nav-cta-btn {
    background: var(--accent-gold);
    color: var(--text-light);
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.nav-cta-btn:hover {
    background: #B08F44;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

/* VIDEO RESPONSIVE */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
}

/* CAPA OSCURA */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26,42,74,0.7),
        rgba(44,62,80,0.4)
    );
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-light);
}

.hero h1 {
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #FFFFFF 0%, #E8E8E8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
}

.hero-link {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.hero-link:hover {
    background: rgba(196, 160, 83, 0.25);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(196, 160, 83, 0.25);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--text-light);
    box-shadow: 0 4px 16px rgba(196, 160, 83, 0.3);
}

.btn-primary:hover {
    background: #B08F44;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(196, 160, 83, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
}

.btn-large {
    padding: 18px 40px;
    font-size: 17px;
}

/* --- SERVICIOS / CATEGORÍAS SECUNDARIAS --- */
.services {
    padding: 100px 24px;
    background: var(--bg-white);
}

.services:nth-child(even) {
    background: var(--bg-light);
}

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

.section-header h2 {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 19px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.service-category {
    margin-bottom: 80px;
}

.category-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.category-text h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
    line-height: 1.3;
}

.category-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 28px;
}

.service-highlights {
    display: grid;
    gap: 16px;
    margin-bottom: 32px;
}

.service-highlights li {
    padding: 16px 20px;
    background: var(--bg-light);
    border-left: 4px solid var(--accent-gold);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.service-highlights li:hover {
    background: rgba(196, 160, 83, 0.1);
    transform: translateX(8px);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1B2B4B;
    color: white;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all .3s ease;
}

.service-link:hover {
    background: #24396a;
    gap: 12px;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.category-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-image:hover .service-img {
    transform: scale(1.05);
}

/* --- TARJETAS DE SERVICIOS RESPONSIVE (agregado del segundo archivo) --- */
.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
}

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

.service-card-image {
    height: 100%;
    min-height: 400px;
    width: 100%;
}

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

.service-badge {
    display: inline-block;
    background: rgba(196, 160, 83, 0.1);
    color: var(--accent-gold);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    line-height: 1.3;
}

.service-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 28px;
}

.service-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-color);
    color: white;
    padding: 18px 36px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    text-decoration: none;
}

.service-card-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --- INFO SECTION --- */
.info-section {
    padding: 100px 24px;
    background: var(--bg-white);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.info-image {
    position: relative;
}

.profile-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.credentials-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--bg-white);
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
}

.credentials-badge p {
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.info-content h2 {
    font-size: clamp(32px, 4.5vw, 44px);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.info-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.info-tagline {
    font-size: 18px;
    color: var(--accent-gold);
    margin-bottom: 32px;
    font-style: italic;
}

.info-description p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.education-grid {
    display: grid;
    gap: 24px;
    margin: 40px 0;
}

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

.education-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.education-item svg {
    flex-shrink: 0;
    color: var(--primary-color);
}

.education-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.education-item p {
    font-size: 15px;
    color: var(--text-gray);
    margin: 0;
}

.specializations {
    margin: 40px 0;
    padding: 32px;
    background: linear-gradient(135deg, rgba(26, 42, 74, 0.03), rgba(196, 160, 83, 0.05));
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.specializations h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.spec-list {
    display: grid;
    gap: 16px;
}

.spec-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-dark);
}

.spec-list li svg {
    flex-shrink: 0;
    color: var(--accent-gold);
}

/* --- CONTACT SECTION --- */
.contact {
    padding: 100px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
}

.contact h3 {
    text-align: center;
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-form {
    max-width: 700px;
    margin: 48px auto 0;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 48px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.15);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
    margin-bottom: 24px;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--accent-gold);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: #B08F44;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 160, 83, 0.4);
}

/* --- MAP SECTION --- */
.map-section {
    padding: 100px 24px;
    background: var(--bg-light);
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 40px;
}

.map-info {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

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

.map-info-item {
    display: flex;
    gap: 16px;
}

.map-info-item svg {
    flex-shrink: 0;
    color: var(--primary-color);
}

.map-info-item h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.map-info-item p,
.map-info-item a {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

.map-info-item a:hover {
    color: var(--accent-gold);
}

/* --- FOOTER --- */
.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 80px 24px 32px;
}

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

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

.footer-col h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--accent-gold);
}

.footer-tagline {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.footer-slogan {
    font-size: 15px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-gold);
    transform: translateY(-3px);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-gold);
    padding-left: 8px;
}

.footer-contact li {
    display: flex;
    align-items: start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--accent-gold);
    margin-top: 2px;
}

.footer-education {
    margin-bottom: 24px;
}

.footer-education li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    margin-bottom: 8px;
}

.footer-certifications p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin: 0 8px;
}

.footer-legal a:hover {
    color: var(--accent-gold);
}

.footer-contact {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-contact li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--accent-gold) !important;
    margin-top: 2px;
    display: block !important;
}

/* --- WHATSAPP FLOAT BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    color: white;
}

.whatsapp-text {
    display: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .nav-container {
        position: relative;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 26px;
        height: 3px;
        background: #1B2B4B;
        border-radius: 3px;
        transition: 0.3s ease;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        border-radius: 0 0 12px 12px;
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        list-style: none;
    }

    .nav-menu li a {
        display: block;
        width: 100%;
        padding: 12px 0;
        color: #1B2B4B;
        text-decoration: none;
        font-weight: 600;
        border-bottom: 1px solid rgba(0,0,0,0.08);
    }

    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        background: #f8f9fc;
        box-shadow: none;
        padding-left: 12px;
        margin-top: 8px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-cta-btn {
        display: none;
    }

    .category-content,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-group {
        grid-template-columns: 1fr;
    }

    .service-card {
        grid-template-columns: 1fr !important;
    }

    .service-card-content {
        padding: 40px 32px;
        order: 2;
    }

    .service-card-image {
        min-height: 300px;
        order: 1;
    }

    .service-card h3 {
        font-size: 22px;
    }
}

@media (max-width: 1024px) {
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

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

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

    .dropdown > a {
        position: relative;
    }

    .dropdown > a::after {
        content: "⌄";
        float: right;
        font-size: 14px;
        transition: transform 0.3s ease;
    }

    .dropdown.active > a::after {
        transform: rotate(180deg);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: 100px 16px 60px;
    }

    .hero-links {
        flex-direction: column;
    }

    .hero-links2 {
        flex-direction: column;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
        justify-content: center;
    }

    .services,
    .info-section,
    .contact,
    .map-section {
        padding: 60px 16px;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .footer {
        padding: 60px 16px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-card-content {
        padding: 32px 24px;
    }

    .service-card-image {
        min-height: 250px;
    }

    .service-card-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 28px;
        font-size: 15px;
    }

    .service-card h3 {
        font-size: 20px;
    }

    .service-card p {
        font-size: 15px;
    }

    .education-grid,
    .map-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .service-card-content {
        padding: 24px 20px;
    }

    .service-card-image {
        min-height: 220px;
    }

    .service-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .service-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .service-card-btn {
        padding: 14px 24px;
        font-size: 14px;
        gap: 8px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 28px;
        font-size: 15px;
    }
}