/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #333333;
}

/* ==========================================
   POP-UP (MODAL ENTRADA)
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background-color: #ffffff;
    width: 100%;
    max-width: 520px;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-top: 5px solid #00bcd4;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #888888;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close-btn:hover {
    color: #000000;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-right: 25px;
}

.modal-logo {
    height: 45px;
    width: auto;
}

.modal-badge {
    background-color: #e0f7fa;
    color: #00838f;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-body h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111111;
    margin-bottom: 12px;
}

.modal-body p {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.modal-notice {
    font-size: 0.84rem !important;
    color: #777777 !important;
    font-style: italic;
}

.modal-divider {
    border: 0;
    height: 1px;
    background: #eeeeee;
    margin: 18px 0;
}

.modal-cta-text {
    font-size: 0.92rem !important;
    color: #222222 !important;
}

.btn-modal-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25d366;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 20px;
    border-radius: 6px;
    margin-top: 18px;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.btn-modal-whatsapp:hover {
    background-color: #1eb957;
    transform: translateY(-2px);
}

/* ==========================================
   1. BARRA SUPERIOR Y REDES SOCIALES
   ========================================== */
.top-header {
    background-color: #000000;
    border-bottom: 1px solid #1a1a1a;
    padding: 12px 0;
    width: 100%;
}

.top-header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand-logo img {
    height: 38px;
    width: auto;
    display: block;
}

.top-email {
    color: #00bcd4;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-email:hover {
    text-decoration: underline;
}

.top-socials {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-socials a {
    color: #00bcd4;
    font-size: 1.05rem;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.top-socials a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================
   DESPLEGABLE DE INSTAGRAM
   ========================================== */
.insta-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.insta-dropdown::before {
    content: "";
    position: absolute;
    top: 0;
    left: -15px;
    right: -15px;
    bottom: -20px;
    z-index: 1999;
}

.dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #111111;
    border: 1px solid #00bcd4;
    border-radius: 6px;
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    padding: 6px 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
}

.insta-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu a {
    color: #ffffff !important;
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: flex !important;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: #00bcd4;
    color: #ffffff !important;
}

.footer-insta .dropdown-menu {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: 8px;
    transform: translateY(-8px);
}

.footer-insta:hover .dropdown-menu,
.footer-insta .dropdown-menu:hover {
    transform: translateY(0);
}

.footer-insta::before {
    top: -20px;
    bottom: 0;
}

/* ==========================================
   2. SLIDER CARRUSEL
   ========================================== */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #111111;
    padding-bottom: 50px;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeSlider 15s infinite ease-in-out;
}

.slide-1 {
    background-image: url('img/portada/slider1.jpg');
    animation-delay: 0s;
}

.slide-2 {
    background-image: url('img/portada/slider2.jpg');
    animation-delay: 5s;
}

.slide-3 {
    background-image: url('img/portada/slider3.jpg');
    animation-delay: 10s;
}

@keyframes fadeSlider {
    0% { opacity: 0; }
    10% { opacity: 1; }
    30% { opacity: 1; }
    40% { opacity: 0; }
    100% { opacity: 0; }
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.65) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.sub-title {
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: #00bcd4;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.hero-content h1 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 800;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

.hero-description {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 22px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-primary {
    background: #00bcd4;
    color: #ffffff;
}

.btn-primary:hover {
    background: #0097a7;
}

.btn-secondary {
    border: 1px solid #ffffff;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.4);
}

.btn-secondary:hover {
    background: #ffffff;
    color: #000000;
}

/* ==========================================
   3. MENÚ NAVEGACIÓN
   ========================================== */
.sticky-navigation {
    background-color: #000000;
    border-bottom: 2px solid #00bcd4;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.sticky-navigation.fixed {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sticky-navigation.fixed + .info-section {
    margin-top: 60px;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo-mini img {
    height: 38px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00bcd4;
}

/* BOTÓN HAMBURGUESA */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-menu span {
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    display: block;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==========================================
   4. PRESENTACIÓN
   ========================================== */
.info-section {
    background-color: #ffffff;
    padding: 50px 20px 40px 20px;
    text-align: center;
}

.info-container {
    max-width: 900px;
    margin: 0 auto;
}

.logo-hero-center img {
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
}

.section-title-sub {
    font-size: 1.4rem;
    font-weight: 700;
    color: #666666;
    margin-bottom: 12px;
}

.section-title-main {
    font-size: 1.7rem;
    font-weight: 800;
    color: #111111;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.title-divider {
    width: 45px;
    height: 3px;
    background-color: #00bcd4;
    margin: 0 auto 20px auto;
}

.description-text {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.sub-description-text {
    font-size: 0.9rem;
    color: #666666;
}

.section-divider {
    max-width: 1100px;
    height: 1px;
    background-color: #eeeeee;
    margin: 20px auto 50px auto;
}

/* ==========================================
   5. CARACTERÍSTICAS Y OBJETIVOS
   ========================================== */
.features-section {
    background-color: #ffffff;
    padding: 0 20px 50px 20px;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
}

.feature-card {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #222222;
    margin-bottom: 20px;
    line-height: 1.2;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 300;
    color: #555555;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.88rem;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.rsce-logo img {
    max-width: 180px;
    height: auto;
    margin-bottom: 15px;
}

.afijo-text {
    font-size: 0.85rem !important;
    color: #777777 !important;
}

.objective-text {
    text-align: left;
}

.btn-outline {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid #00bcd4;
    color: #00bcd4;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.25s ease;
    margin-top: auto;
}

.btn-outline:hover {
    background-color: #00bcd4;
    color: #ffffff;
}

/* ==========================================
   6. SOBRE NOSOTROS
   ========================================== */
.about-section {
    background-color: #ffffff;
    padding: 20px 20px 50px 20px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.about-image {
    flex: 1;
    position: sticky;
    top: 80px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
    display: block;
}

.about-content {
    flex: 1.2;
}

.about-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111111;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.about-divider {
    width: 45px;
    height: 3px;
    background-color: #00bcd4;
    margin-bottom: 25px;
}

.about-content p {
    font-size: 0.92rem;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

/* ==========================================
   7. TARJETAS INFORMATIVAS
   ========================================== */
.cards-section {
    background-color: #ffffff;
    padding: 20px 20px 80px 20px;
}

.cards-header {
    text-align: center;
    margin-bottom: 40px;
}

.cards-divider {
    width: 45px;
    height: 3px;
    background-color: #00bcd4;
    margin: 0 auto;
}

.cards-container {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: stretch;
}

.info-card {
    flex: 1;
    background-color: #f6f6f6;
    border-radius: 8px;
    padding: 30px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.info-card h2 {
    font-size: 1.7rem;
    font-weight: 400;
    color: #555555;
    margin-bottom: 20px;
}

.card-image {
    width: 100%;
    height: 220px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 2px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.info-card:hover .card-image img {
    transform: scale(1.03);
}

.info-card p {
    font-size: 0.88rem;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
}

/* ==========================================
   8. CARACTERÍSTICAS DEL HUSKY
   ========================================== */
.characteristics-section {
    background-color: #ffffff;
    padding: 20px 20px 60px 20px;
}

.characteristics-container {
    max-width: 1100px;
    margin: 0 auto;
}

.characteristics-title {
    font-size: 2rem;
    font-weight: 800;
    color: #111111;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.characteristics-divider {
    width: 45px;
    height: 3px;
    background-color: #00bcd4;
    margin: 0 auto 35px auto;
}

.char-paragraph {
    font-size: 0.92rem;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.breed-subsection {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin: 50px 0 40px 0;
}

.breed-image {
    flex: 1;
}

.breed-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    object-fit: cover;
}

.breed-content {
    flex: 1.2;
}

.breed-content h3 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #333333;
    margin-bottom: 15px;
}

.breed-content p {
    font-size: 0.92rem;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: justify;
}

.health-list {
    list-style: none;
    padding-left: 0;
    margin: 20px 0 25px 0;
}

.health-list li {
    font-size: 0.9rem;
    color: #555555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.health-list li::before {
    content: "•";
    color: #333333;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.closing-text {
    margin-top: 30px;
}

.closing-text p {
    font-size: 0.92rem;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.group-banner {
    width: 100%;
    margin-top: 40px;
    overflow: hidden;
    border-radius: 4px;
}

.group-banner img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

/* ==========================================
   9. CONTACTO
   ========================================== */
.contact-section {
    background-color: #f7f7f7;
    padding: 60px 20px 80px 20px;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111111;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.contact-divider {
    width: 45px;
    height: 3px;
    background-color: #00bcd4;
    margin: 0 auto 50px auto;
}

.contact-grid {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    font-size: 1.4rem;
    color: #00bcd4;
    width: 25px;
    text-align: center;
}

.info-item a {
    color: #00bcd4;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.info-item a:hover {
    text-decoration: underline;
}

.contact-form {
    flex: 1.4;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #333333;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #00bcd4;
}

.btn-submit {
    align-self: flex-end;
    background-color: #25d366;
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.25s ease;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-submit:hover {
    background-color: #1eb957;
}

/* ==========================================
   10. ANIMACIÓN SCROLL & BOTÓN FLOTANTE
   ========================================== */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(1), .info-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2), .info-card:nth-child(2) { transition-delay: 0.25s; }
.feature-card:nth-child(3), .info-card:nth-child(3) { transition-delay: 0.4s; }

.float-whatsapp {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 50px;
    height: 50px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.float-whatsapp:hover {
    transform: scale(1.1);
}

/* ==========================================
   11. FOOTER
   ========================================== */
.site-footer {
    background-color: #0d0d0d;
    color: #ffffff;
    border-top: 2px solid #00bcd4;
    padding: 40px 20px 20px 20px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #222222;
}

.footer-certifications {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.footer-certifications .footer-rsce {
    height: 52px;
    width: auto;
    object-fit: contain;
    background-color: #0d0d0d;
    padding: 4px;
    border-radius: 4px;
    mix-blend-mode: lighten;
}

.footer-brand-center {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    margin-bottom: 8px;
}

.footer-brand-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.footer-brand-sub {
    font-size: 0.88rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 3px;
}

.footer-brand-tagline {
    font-size: 0.82rem;
    color: #aaaaaa;
    margin: 0;
}

.footer-socials {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    align-items: center;
}

.footer-socials a,
.footer-socials .insta-dropdown > a {
    color: #00bcd4;
    font-size: 1.05rem !important;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.footer-socials a:hover,
.footer-socials .insta-dropdown:hover > a {
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-socials svg,
.footer-socials img {
    width: 1.05rem;
    height: 1.05rem;
    max-width: 1.05rem;
    max-height: 1.05rem;
    object-fit: contain;
}

.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0 auto;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: #777777;
    margin: 0;
}

.author-link {
    color: #00bcd4;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.author-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ==========================================
   TARJETAS DE CACHORROS Y EJEMPLARES
   ========================================== */
.puppies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.puppy-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.puppy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.puppy-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.puppy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.puppy-card:hover .puppy-image img {
    transform: scale(1.05);
}

.puppy-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.puppy-badge.disponible {
    background-color: #25d366;
    color: #ffffff;
}

.puppy-badge.adopcion {
    background-color: #ff9800;
    color: #ffffff;
}

.puppy-badge.memoria {
    background-color: #9e9e9e;
    color: #ffffff;
}

.puppy-badge.campeon {
    background-color: #ff9800;
    color: #ffffff;
}

.puppy-badge.disponible,
.puppy-badge.adopcion,
.puppy-badge.memoria,
.puppy-badge.campeon {
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
}

.puppy-info {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.puppy-info h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 10px;
}

.puppy-pedigree {
    font-size: 0.75rem;
    font-style: italic;
    color: #00bcd4;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.puppy-details {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: #666;
}

.puppy-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.puppy-details i {
    color: #00bcd4;
}

.puppy-description {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.puppy-info .btn-outline {
    align-self: center;
    margin-top: auto;
}

/* Tarjetas de adopción */
.adoption-card {
    border: 2px solid #ff9800;
}

.adoption-card .puppy-info h3 {
    color: #e65100;
}

.adoption-btn {
    border-color: #ff9800 !important;
    color: #ff9800 !important;
}

.adoption-btn:hover {
    background-color: #ff9800 !important;
    color: #ffffff !important;
}

/* Ajuste para grid de venta (3 tarjetas centradas) */
.puppies-grid.sale-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* GALERÍA DE FOTOS */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-item img {
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ==========================================
   MODAL DE PERFIL DE EJEMPLARES
   ========================================== */
.profile-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.profile-modal.active {
    display: flex;
}

.profile-modal-content {
    background-color: #ffffff;
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.profile-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10002;
}

.profile-close:hover {
    color: #000;
}

/* FOTO DE PERFIL RECTANGULAR */
.profile-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-right: 30px;
}

.profile-header img {
    width: 200px;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #00bcd4;
    flex-shrink: 0;
}

.profile-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 5px;
}

.profile-pedigree {
    font-size: 0.85rem;
    font-style: italic;
    color: #00bcd4;
}

.profile-body {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.profile-body p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}

.profile-body strong {
    color: #222;
}

/* LOGROS Y GALERÍA EN MODAL */
.profile-logros {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.profile-logros h3,
.profile-gallery h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.profile-logros-list {
    list-style: none;
    padding: 0;
}

.profile-logros-list li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    padding-left: 5px;
}

.profile-logros-list li i {
    color: #ff9800;
    margin-right: 8px;
}

.profile-gallery {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.profile-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.profile-gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ==========================================
   ENLACE PEDIGREE
   ========================================== */
.profile-pedigree-link {
    text-align: center;
    margin-top: 10px;
}

.profile-pedigree-link .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    font-size: 0.85rem;
}

/* ==========================================
   ÁRBOL GENEALÓGICO HORIZONTAL
   ========================================== */
.profile-arbol {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.profile-arbol h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    text-align: center;
}

.arbol-contenedor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
    padding: 10px 0;
}

.arbol-generacion-abuelos {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.arbol-padres {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.arbol-linea {
    width: 2px;
    height: 25px;
    background-color: #ccc;
    margin: 0 auto;
}

.arbol-nodo {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    text-align: center;
    min-width: 120px;
    max-width: 180px;
}

.arbol-nodo strong {
    display: block;
    font-size: 0.8rem;
    color: #222;
    margin-bottom: 3px;
}

.arbol-nodo span {
    display: block;
    font-size: 0.65rem;
    color: #888;
    font-style: italic;
}

.arbol-perro {
    display: flex;
    justify-content: center;
}

.arbol-nodo-actual {
    background-color: #e0f7fa;
    border-color: #00bcd4;
    padding: 15px 25px;
    min-width: 160px;
}

.arbol-nodo-actual strong {
    font-size: 0.95rem;
    color: #00838f;
}

.arbol-nodo-actual span {
    color: #555;
    font-size: 0.7rem;
}

/* ==========================================
   ACCESOS RÁPIDOS - ESTILO SUTIL CON HUELLAS
   ========================================== */
.quick-access-section {
    background-color: #ffffff;
    padding: 25px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.quick-access-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.quick-access-label {
    font-size: 0.7rem;
    color: #999;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 15px;
}

.quick-access-grid {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.quick-access-card {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    padding: 8px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #555;
    transition: all 0.25s ease;
    background-color: #ffffff;
}

.quick-access-card i {
    font-size: 0.65rem;
    color: #00bcd4;
    transition: transform 0.25s ease;
}

.quick-access-card:hover {
    border-color: #00bcd4;
    color: #00bcd4;
    background-color: #fafafa;
}

.quick-access-card:hover i {
    transform: scale(1.2);
}

.quick-access-card[href="#machos"]:hover {
    border-color: #00bcd4;
    color: #00bcd4;
}

.quick-access-card[href="#machos"]:hover i {
    color: #00bcd4;
}

.quick-access-card[href="#hembras"]:hover {
    border-color: #e91e63;
    color: #e91e63;
}

.quick-access-card[href="#hembras"]:hover i {
    color: #e91e63;
}

.quick-access-card[href="#campeones"]:hover {
    border-color: #ff9800;
    color: #ff9800;
}

.quick-access-card[href="#campeones"]:hover i {
    color: #ff9800;
}

.quick-access-card[href="#memoria"]:hover {
    border-color: #9e9e9e;
    color: #757575;
}

.quick-access-card[href="#memoria"]:hover i {
    color: #9e9e9e;
}

/* ==========================================
   SCROLL MARGIN PARA SECCIONES CON ANCLA
   ========================================== */
section[id] {
    scroll-margin-top: 70px;
}

/* ==========================================
   SUAVIZAR SCROLL AL HACER CLICK EN ANCLA
   ========================================== */
html {
    scroll-behavior: smooth;
}

/* ==========================================
   RESPONSIVE GENERAL
   ========================================== */
@media (max-width: 1024px) {
    .puppies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #000000;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
        border-bottom: 2px solid #00bcd4;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 10px 20px;
        width: 100%;
        text-align: center;
        display: block;
    }
    
    .nav-container {
        padding: 0 15px;
        position: relative;
    }
    
    .features-container, 
    .about-container, 
    .cards-container, 
    .breed-subsection, 
    .contact-grid {
        flex-direction: column;
    }

    .about-image, 
    .breed-image {
        position: static;
        width: 100%;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 25px;
    }

    .footer-certifications, 
    .footer-socials {
        justify-content: center;
    }

    .hero-slider-section {
        height: 65vh;
        padding-bottom: 30px;
    }

    .hero-content h1 {
        font-size: 2.1rem;
    }

    .dropdown-menu {
        right: 50%;
        transform: translateX(50%);
    }
    
    .puppies-grid,
    .puppies-grid.sale-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 0 15px;
    }
    
    .puppy-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .puppy-image {
        height: 280px;
    }
    
    .puppy-info h3 {
        font-size: 1.5rem;
    }
    
    .puppy-info .btn-outline {
        padding: 12px 30px;
        font-size: 0.85rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .profile-modal-content {
        padding: 20px;
        max-width: 95%;
    }
    
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-right: 0;
    }
    
    .profile-header img {
        width: 100%;
        max-width: 300px;
        height: 200px;
        margin-bottom: 10px;
    }
    
    .profile-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-gallery-grid img {
        height: 180px;
    }
    
    .quick-access-grid {
        gap: 8px;
    }
    
    .quick-access-card {
        padding: 7px 14px;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .nav-links a {
        font-size: 0.85rem;
        padding: 8px 15px;
    }
    
    .nav-logo-mini img {
        height: 32px;
    }
    
    .hamburger-menu span {
        width: 22px;
    }
    
    .puppies-grid,
    .puppies-grid.sale-grid {
        padding: 0 10px;
        gap: 15px;
    }
    
    .puppy-card {
        max-width: 100%;
    }
    
    .puppy-image {
        height: 250px;
    }
    
    .puppy-info {
        padding: 15px;
    }
    
    .puppy-info h3 {
        font-size: 1.3rem;
    }
    
    .puppy-details {
        flex-direction: column;
        gap: 8px;
    }
    
    .quick-access-grid {
        gap: 5px;
    }
    
    .quick-access-card {
        padding: 6px 10px;
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }
    
    .arbol-generacion-abuelos,
    .arbol-padres {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        justify-content: flex-start;
        padding: 0 5px;
    }
    
    .arbol-nodo {
        min-width: 90px;
        max-width: 130px;
        padding: 8px 10px;
    }
    
    .arbol-nodo strong {
        font-size: 0.7rem;
    }
    
    .arbol-nodo span {
        font-size: 0.55rem;
    }
    
    .arbol-nodo-actual {
        min-width: 120px;
        padding: 12px 20px;
    }
}

/* CORRECCIÓN GENERAL PARA EVITAR DESBORDAMIENTOS EN MÓVIL */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* ==========================================
   ÁRBOL GENEALÓGICO HORIZONTAL (IZQUIERDA A DERECHA)
   ========================================== */
.profile-arbol {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    overflow-x: auto; /* Permite scroll horizontal si es necesario */
}

.profile-arbol h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    text-align: center;
}

.arbol-horizontal {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    min-width: 500px; /* Ancho mínimo para que se vea bien */
    padding: 10px 0;
}

/* Columnas */
.arbol-columna {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.arbol-columna-perro {
    flex-shrink: 0;
}

.arbol-columna-padres {
    flex-shrink: 0;
}

.arbol-columna-abuelos {
    flex-shrink: 0;
}

/* Línea conectora horizontal */
.arbol-linea-horizontal {
    display: flex;
    align-items: center;
    width: 40px;
    flex-shrink: 0;
}

.arbol-linea-horizontal-tramo {
    width: 40px;
    height: 2px;
    background-color: #ccc;
}

/* Nodos */
.arbol-nodo {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    text-align: center;
    min-width: 100px;
    max-width: 150px;
}

.arbol-nodo strong {
    display: block;
    font-size: 0.75rem;
    color: #222;
    margin-bottom: 3px;
}

.arbol-nodo span {
    display: block;
    font-size: 0.6rem;
    color: #888;
    font-style: italic;
}

.arbol-nodo-actual {
    background-color: #e0f7fa;
    border-color: #00bcd4;
    padding: 15px 20px;
    min-width: 120px;
}

.arbol-nodo-actual strong {
    font-size: 0.9rem;
    color: #00838f;
}

.arbol-nodo-actual span {
    color: #555;
    font-size: 0.65rem;
}

/* Contenedores verticales */
.arbol-padres-vertical,
.arbol-abuelos-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

/* Responsive */
@media (max-width: 600px) {
    .arbol-horizontal {
        min-width: 400px;
    }
    
    .arbol-linea-horizontal,
    .arbol-linea-horizontal-tramo {
        width: 25px;
    }
    
    .arbol-nodo {
        min-width: 80px;
        max-width: 120px;
        padding: 8px 10px;
    }
    
    .arbol-nodo strong {
        font-size: 0.65rem;
    }
    
    .arbol-nodo span {
        font-size: 0.5rem;
    }
}

/* ==========================================
   BADGE ADOPTADO
   ========================================== */
.puppy-badge.adoptado {
    background-color: #4caf50;
    color: #ffffff;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
}