:root {
    --background-gray: rgb(226, 226, 226);
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/roboto.ttf');
}

@font-face {
    font-family: 'Quicksand';
    src: url('/fonts/quicksand.ttf');
}

@font-face {
    font-family: 'Style Script';
    src: url('/fonts/stylescript.ttf');
}


* {
    padding: 0;
    margin: 0;
}

body {
    font-size: 20px;
    font-family: 'Quicksand';
}

#submenu {
    display: none;
}

li {
    list-style-type: none;
    text-decoration: none;
}

nav {
    display: flex;
    justify-content: center;
    background-color: black;
    color: white;
    border-bottom: solid 1px white;
    align-items: center;
}

ul {
    display: flex;
}

li {
    padding: 1rem;
    color: white;
}

.bold {
    font-weight: bold;
}

.fontStyle {
    font-family: 'Style Script';
    font-size: 28px;
}

.link {
    color: #e48e37 !important;
    font-weight: bold;
}

#menu__toggle {
    opacity: 0;
}

#menu__toggle:checked~.menu__btn>span {
    transform: rotate(45deg);
}

#menu__toggle:checked~.menu__btn>span::before {
    top: 0;
    transform: rotate(0);
}

#menu__toggle:checked~.menu__btn>span::after {
    top: 0;
    transform: rotate(90deg);
}

#menu__toggle:checked~.menu__box {
    visibility: visible;
    left: 0;
}

.menu__btn {
    display: flex;
    align-items: center;
    position: fixed;
    top: 20px;
    left: 20px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 2;
}

.menu__btn>span,
.menu__btn>span::before,
.menu__btn>span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: grey;
    transition-duration: .25s;
}

.menu__btn>span::before {
    content: '';
    top: -8px;
}

.menu__btn>span::after {
    content: '';
    top: 8px;
}

.menu__box {
    display: block;
    position: fixed;
    visibility: hidden;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100%;
    margin: 0;
    padding: 80px 0;
    list-style: none;
    background-color: darkgray;
    box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
    transition-duration: .25s;
    z-index: 1;
}

.menu__item {
    display: block;
    padding: 12px 24px;
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition-duration: .25s;
}

.menu__item:hover {
    background-color: #CFD8DC;
}

#hamburger-menu {
    opacity: 0;
    visibility: hidden;
    height: 0;
}

#titreNav span {
    font-family: 'Style Script', 'sans-serif';
    font-size: 28px;
    color: white;
}

#titreNav {
    position: absolute;
    left: 0;
}

#containerNav {
    display: flex;
    align-items: center;
}

a {
    text-decoration: none;
}

#container1 {
    display: flex;
}

#container1 h1 {
    font-family: 'Style Script', 'sans-serif';
    position: absolute;
    color: white;
    left: 35%;
    margin-top: 2rem;
    font-size: 65px;
}

#title {
    animation: appear 2s;
}

@keyframes appear {
    from {
        transform: translateY(-300px);
    }
    to {
        transform: translateY(0px);
    }
}

#container1 img {
    width: 100%;
    height: 100%;
}

#containerActu {
    background-color: rgb(200, 200, 200);
}

#containerActu p {
    color: white;
}

#container2 {
    height: 270px;
    background-color: grey;
    text-align: center;
    display: flex;
    flex-direction: column;
    margin: 3px 3px 3px 3px;
    border-radius: 10px;
}

#container2 p {
    margin: auto;
    color: white;
}

#container2 a {
    margin: auto;
}

.btnInfo {
    background-color: black;
    padding: 10px;
    border-radius: 25px;
    color: rgb(196, 195, 195) !important;
    box-shadow: 5px -1px 15px -4px rgba(0, 0, 0, 0.75);
}

.card {
    position: relative;
    width: 300px;
    height: 520px;
    background-color: black;
    color: rgb(236, 236, 236);
    text-align: center;
    border-radius: 10px;
    font-family: 'Roboto';
    margin-bottom: 1rem;
    box-shadow: 5px -1px 15px -4px rgba(0, 0, 0, 0.75);
}

.imageCard {
    object-fit: cover;
    width: 300px;
    height: 400px;
}

.infocard {
    padding: 5px;
}

.paddingCard {
    padding: 1rem !important;
}

.card:hover,
.btnInfo:hover {
    box-shadow: 5px -1px 15px -4px rgba(105, 105, 105, 0.75);
    transform: scale(1.02);
}

.card img {
    border-radius: 10px 10px 0 0;
}

.nameCard {
    padding-bottom: 1rem;
}

#titleContainer4 {
    font-size: 40px;
    font-family: 'Style Script';
    text-align: center;
}

.line {
    width: 300px;
    background-color: black;
    height: 1px;
    display: block;
    margin: auto;
}

#container-title {
    margin: 1.5rem 0;
    display: flex;
}

.animals-block {
    padding: 1rem;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

footer {
    display: flex;
    flex-direction: column;
    background-color: black;
    color: white;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    padding-bottom: 1rem;
}

footer i {
    padding: 1rem;
    font-size: 25px;
}

footer a {
    color: white;
}

.containerCatV2 {
    margin: auto;
}

.container_animal img,
.containerCatV2 img {
    width: 500px;
    border-radius: 10px;
    box-shadow: 5px -1px 15px -4px rgba(0, 0, 0, 0.75);
}

.textDog {
    background-color: rgb(229, 226, 226) !important;
    color: black !important;
}

.text_animal {
    text-align: center;
    width: 700px;
    background-color: #161616;
    margin: auto;
    border-radius: 10px;
    color: white;
    box-shadow: 5px -1px 15px -4px rgba(0, 0, 0, 0.75);
}

.text_animal p {
    padding: 1rem;
}

.animal_name {
    font-size: 40px;
    font-family: 'Style Script';
}

.description_animal {
    margin-bottom: 1rem;
    overflow-wrap: break-word;
}

.animal_interesse {
    margin-top: 75px;
}

.animal_interesse p {
    margin: 0;
    padding: 0;
}

.container_animal,
.containerCatV2 {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.femaleSymbol {
    color: palevioletred;
}

.maleSymbol {
    color: rgb(44, 44, 212);
}

.symbol {
    font-size: 30px;
}

.contact {
    color: black;
}

.actuReseaux {
    min-width: 315px;
    text-align: center;
    margin: 1rem;
    background-color: var(--background-gray);
    border-radius: 10px;
}

@media (max-width: 768px) {
    #titleContainer4 {
        font-size: 35px;
    }

    #hamburger-menu {
        opacity: 1;
        visibility: visible;
        height: 0;
    }

    nav {
        display: none;
    }

    .line {
        width: 60px;
    }

    #titleContainer3 {
        font-size: 25px;
    }

    #myBtn {
        width: 200px !important;
        font-size: 15px !important;
    }

    .dateOfAdoption {
        font-size: 7px;
    }

    #containerConditions {
        margin: 10px !important;
        padding: 20px !important;
    }
}

@media (max-width: 590px) {
    body {
        font-size: 16px;
    }

    .reseauxActu {
        font-size: 28px !important;
    }

    .mentions {
        font-size: 15px !important;
    }

    #titreNav span {
        font-size: 17px;
    }

    #container1 h1 {
        font-size: 27px;
    }

    .card {
        height: 480px;
    }

    .reserved {
        font-size: 16px !important;
    }

    .containerCatV2 img {
        width: 230px !important;
    }

    .containerIMG img {
        width: 67px !important;
    }
}

@media (max-width: 414px) {
    .text_animal,
    .imgSolo {
        width: 350px !important;
    }

    #container2 {
        height: 200px;
    }

    .nameCard {
        padding-bottom: 0;
    }
}

@media (max-width: 1024px) {
    .container_animal {
        flex-direction: column;
    }

    .text_animal {
        margin-top: 1rem;
    }

    #containerActus {
        flex-direction: column;
        align-items: center;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#myBtn,
#mybtn2 {
    width: 260px;
    margin: auto;
    font-size: 18px;
}

.textModal {
    color: black !important;
}

.symbolIndex {
    font-size: 25px;
}

.fa-heart {
    color: rgb(247, 81, 81);
    font-size: 16px;
}

#containerActus {
    display: flex;
    justify-content: center;
}

.actu {
    min-width: 315px;
    text-align: center;
    margin: 1rem;
    background-color: var(--background-gray);
    border-radius: 10px;
}

.textActu {
    margin: auto;
    text-align: center;
    padding: 2rem;
    background-color: grey;
    width: 700px;
    border-radius: 10px;
    color: ghostwhite;
    box-shadow: 5px -1px 15px -4px rgb(0 0 0 / 75%);
}

.textActu h1 {
    margin-bottom: 2rem;
    font-family: 'Style Script';
}

#containerPageActu {
    display: flex;
}

.actu h2,
.actuReseaux h2 {
    margin-bottom: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.actu p,
.actuReseaux p {
    padding: 5px;
}

.actu a {
    color: white;
}

.black {
    color: black !important;
}

.btn {
    display: inline-block;
    margin-bottom: 1rem;
    margin-left: 1rem;
    padding: 10px;
    background-color: #e48e37;
    border: none;
    color: white;
    border-radius: 4px;
}

.btn:hover {
    background-color: #eda85e;
    cursor: pointer;
}

.bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
}

#copyright {
    display: flex;
    flex-direction: column;
}

.mentions a { color: inherit; }
.mentions a:hover {
    cursor: pointer;
}

.mentions {
    align-self: center;
    font-size: 17px;
    color: grey;
}

.seeMore {
    margin-right: 3rem;
    display: flex;
    justify-content: space-between;
}

.seeMoreP {
    margin-bottom: 2rem;
    text-align: end;
    padding-right: 5rem;
}

.date {
    font-size: 14px;
    text-align: end;
}

.reserved {
    text-transform: uppercase;
    background-color: rgb(214 81 81);
    font-family: 'Quicksand' !important;
    font-size: 20px;
    padding: 5px;
    border-radius: 3px;
}

.size {
    font-size: 22px;
}

.black {
    color: black;
}

.aSave {
    color: black;
}

.dateOfAdoption {
    font-size: 11px;
}

.image_animal {
    margin: auto;
}

.description_animal a {
    color: white;
}

.white {
    color: white !important;
}

#form {
    display: block;
    margin: auto;
}

.popup {
    text-transform: uppercase;
    animation: zoomBtn 3s ease infinite;
    position: absolute;
    top: 15px;
    right: 10px;
}

.reseauxActu {
    color: #e48e37;
    font-size: 35px;
    margin-right: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.hidden {
    opacity: 0;
    visibility: hidden;
}

.v2 img {
    width: 700px;
}

.enSavoirPlus {
    text-align: end;
    margin-right: 3rem;
}

#containerConditions {
    margin: 40px auto;
    width: 62%;
    background-color: grey;
    padding: 50px;
    font-weight: bolder;
    border-radius: 10px;
}

.white {
    color: white;
}

#btn {
    background-color: #e48e37;
    padding: 10px;
    display: inline-block;
    margin-bottom: 15px;
}

#btn:hover {
    background-color: #c97520;
    cursor: pointer;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: 0;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to left, #000000, #6d6a6a);
    z-index: -1;
}

section {
    display: flex;
    height: 80vh;
    justify-content: center;
    align-items: center;
}

.hero {
    height: 60%;
    width: 100%;
    position: relative;
}

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

.headline {
    position: absolute;
    top: 70%;
    left: 12%;
    font-size: 100px;
    transform: translate(-20%, -70%);
    color: rgb(255, 255, 255);
    z-index: 3;
    font-family: 'Style Script', 'sans-serif';
}

.hero::after {
    content: "";
    background: black;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    opacity: 0.3;
    top: 0;
}

.containerIMG img {
    width: 120px;
    display: flex;
    flex-direction: column;
    margin: 10px;
}

.containerAllImg {
    display: flex;
    flex-direction: row-reverse;
}

@media (min-width: 1025px) {
    .containerAllImg {
        margin: auto;
    }
}

@media (min-width: 1200px) {
    .containerAllImg {
        margin: auto;
    }
}

.infosAdoption {
    font-style: italic;
}

.cardDog {
    background-color: rgb(229, 226, 226) !important;
    color: black !important;
}

.cardRat {
    background-color: rgb(161, 105, 105) !important;
    color: black !important;
}

#containerBtn {
    display: flex;
    justify-content: center;
}

#pageInfo {
    padding: 10px;
}

#ul {
    flex-direction: column;
}

.race {
    color: #F39C12;
    font-weight: bold;
}

@keyframes appearCardLeft {
    0% {
        position: relative;
        left: -600px;
    }
    100% {
        position: relative;
        left: 0px;
    }
}

.image_animal.animate {
    animation: appearCardLeft 2s ease;
}

.text_animal.animate {
    animation: appearCardRight 2s ease;
}

@keyframes appearCardRight {
    0% {
        position: relative;
        right: -900px;
    }
    100% {
        position: relative;
        right: 0px;
    }
}

.text_animal {
    text-overflow: hidden;
    overflow: hidden;
}

.description_animal {
    animation: textBottom 2s ease-in-out;
}

@keyframes textBottom {
    0% {
        opacity: 0;
        visibility: hidden;
        position: relative;
        bottom: -400px;
    }
    70% {
        opacity: 0;
        visibility: hidden;
        position: relative;
        bottom: -400px;
    }
    100% {
        visibility: visible;
        opacity: 1;
        position: relative;
        bottom: 0px;
    }
}

.animate .container_anim {
    animation: textTop 2s ease-in-out;
}

@keyframes textTop {
    0% {
        opacity: 0;
        visibility: hidden;
        position: relative;
        top: -200px;
    }
    70% {
        opacity: 0;
        visibility: hidden;
        position: relative;
        top: -200px;
    }
    100% {
        visibility: visible;
        opacity: 1;
        position: relative;
        top: 0px;
    }
}

.reserved_card {
    text-transform: uppercase;
    background-color: rgb(214 81 81);
    font-family: 'Quicksand' !important;
    font-size: 20px;
    padding: 5px;
    border-radius: 3px;
    display: block;
    margin: auto 0;
}

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

#demande_adoption {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 15px;
}

#demande_adoption .container {
    margin: 10px 0;
    border-radius: 5px;
    padding: 5px 0;
}

#demande_adoption .container .content {
    font-family: 'Quicksand';
    padding: 10px;
}

#demande_adoption .container .title {
    width: 100%;
    padding-left: 5px;
    display: block;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#demande_adoption input {
    border: none;
    font-family: 'Quicksand';
    padding: 5px;
    border-radius: 3px;
    width: 200px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.background {
    background-color: var(--background-gray);
    box-shadow: 0 0 2px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.2);
}

:root {
    --bordeaux:      #85182c;
    --bordeaux-soft: #a02040;
    --bordeaux-light:#f5e6e9;
    --bordeaux-dark: #5a1020;
    --orange:        #e48e37;
    --orange-soft:   #eda85e;
    --orange-light:  #fef3e6;
    --orange-dark:   #c97520;
    --bg-page:       #fafafa;
    --text-main:     #1f1a1a;
    --text-secondary:#6b7280;
    --border-color:  #e5e7eb;
    --shadow-sm:     0 1px 8px rgba(0,0,0,0.06);
    --shadow-md:     0 4px 20px rgba(0,0,0,0.09);
    --shadow-lg:     0 8px 32px rgba(0,0,0,0.13);
    --radius-sm:     8px;
    --radius-md:     12px;
    --radius-lg:     18px;
    --transition:    all 0.2s ease;
}

body {
    background: var(--bg-page) !important;
    color: var(--text-main) !important;
    line-height: 1.65 !important;
}

header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: #fff !important;
    box-shadow: 0 1px 16px rgba(133,24,44,0.07) !important;
}

.ui.stackable.menu,
.ui.menu {
    background: #fff !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
}

.ui.menu .item {
    color: #374151 !important;
    transition: var(--transition) !important;
    border-radius: 0 !important;
}

.ui.menu .item:hover,
.ui.menu .item:focus {
    color: var(--orange) !important;
    background: var(--orange-light) !important;
}

.ui.menu > a.item img {
    height: 42px !important;
    width: auto !important;
}

.ui.primary.button,
.ui.button.primary {
    background: var(--orange) !important;
    color: #fff !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 12px rgba(228,142,55,0.22) !important;
    transition: var(--transition) !important;
    border: none !important;
}

.ui.primary.button:hover {
    background: var(--orange-dark) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 18px rgba(228,142,55,0.32) !important;
}

.ui.primary.button.basic,
.ui.basic.primary.button {
    background: transparent !important;
    color: var(--orange) !important;
    border: 1.5px solid var(--orange) !important;
    box-shadow: none !important;
    border-radius: var(--radius-sm) !important;
}

.ui.primary.button.basic:hover,
.ui.basic.primary.button:hover {
    background: var(--orange-light) !important;
    transform: translateY(-1px) !important;
}

.ui.label.orange {
    background: #fff7ed !important;
    color: #c2410c !important;
    border: 1px solid #fed7aa !important;
    font-weight: 600 !important;
    border-radius: 20px !important;
    font-size: 12px !important;
}

.ui.segment:not(.inverted):not(.basic) {
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-sm) !important;
    border: 1px solid var(--border-color) !important;
}

.ui.divider {
    border-top: 1px solid var(--border-color) !important;
    border-bottom: none !important;
    margin: 1.5rem 0 !important;
}

h1, h2, h3, h4 {
    color: var(--text-main) !important;
    font-family: 'Quicksand', sans-serif !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.ui.header {
    color: var(--text-main) !important;
}

footer {
    background: linear-gradient(135deg, #5a1020 0%, #85182c 100%) !important;
    color: #f0c8c8 !important;
    padding: 3rem 0 0 !important;
    margin-top: 4rem !important;
    font-size: 0.95rem;
    display: block !important;
}

footer p {
    color: #e8a0a0 !important;
    font-size: 0.88rem !important;
    line-height: 1.7 !important;
    margin: 0.2rem 0 !important;
    background: transparent !important;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem 2.5rem;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 160px;
}

.footer-brand {
    font-family: 'Style Script', cursive !important;
    font-size: 1.5rem !important;
    color: #fff !important;
    display: block;
    margin-bottom: 0.4rem;
}

.footer-section-title {
    color: #f5d0d0 !important;
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-weight: 700 !important;
    margin-bottom: 0.8rem !important;
    -webkit-text-fill-color: initial;
}

.footer-links a {
    display: block;
    color: #e8a0a0 !important;
    font-size: 0.88rem !important;
    margin-bottom: 0.5rem;
    transition: color 0.2s !important;
}

.footer-links a:hover {
    color: #fff !important;
}

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

.footer-social a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(255,255,255,0.1) !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 1rem !important;
    transition: background 0.2s, transform 0.15s !important;
}

.footer-social a:hover {
    background: var(--orange) !important;
    transform: translateY(-2px) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1rem 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #d4878f !important;
    background: transparent !important;
}

.animals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0 2rem;
}

.animal-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

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

.animal-card-img {
    display: block;
    width: 100%;
    transition: transform 0.3s ease;
}

.animal-card:hover .animal-card-img {
    transform: scale(1.04);
}

.animal-card-body {
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
}

.animal-card-name {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 0.4rem;
}

.animal-card-name:hover {
    color: var(--orange);
}

.animal-card-reserved {
    display: inline-block;
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
    border-radius: 20px;
    padding: 1px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    margin-right: 4px;
    vertical-align: middle;
}

.animal-card-location {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.animal-card-location i {
    color: var(--orange);
}

.animal-card-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: auto;
}

.animal-card-link {
    display: block;
    padding: 0.65rem 1rem;
    border-top: 1px solid var(--border-color);
    background: #f9fafb;
    color: var(--orange);
    font-weight: 600;
    font-size: 0.88rem;
    text-align: center;
    transition: background 0.2s;
}

.animal-card-link:hover {
    background: var(--orange-light);
}

.animal-card-link i {
    font-size: 0.75rem;
    margin-left: 3px;
}

.bene-intro {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    font-size: 0.97rem;
    line-height: 1.8;
}

.bene-roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.bene-role-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.bene-role-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.bene-role-card.bene-featured {
    border-color: var(--orange-light);
    background: linear-gradient(135deg, #fffaf5 0%, #fef3e6 100%);
    grid-column: span 2;
}

@media (max-width: 600px) {
    .bene-role-card.bene-featured {
        grid-column: span 1;
    }
}

.bene-role-icon {
    width: 44px;
    height: 44px;
    background: var(--orange-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--orange);
    margin-bottom: 0.9rem;
    flex-shrink: 0;
}

.bene-role-card h3 {
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.6rem !important;
    color: var(--text-main) !important;
    -webkit-text-fill-color: initial !important;
}

.bene-role-card p,
.bene-role-card li {
    font-size: 0.88rem;
    color: var(--text-secondary) !important;
    line-height: 1.7;
    margin-bottom: 0.4rem;
}

.bene-role-card ul {
    padding-left: 1.2rem;
    margin-top: 0.5rem;
}

.bene-cta {
    background: linear-gradient(135deg, var(--bordeaux) 0%, var(--bordeaux-soft) 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    color: #fff;
    margin-top: 1rem;
}

.bene-cta h3 {
    color: #fff !important;
    font-size: 1.2rem !important;
    margin-bottom: 0.75rem !important;
    -webkit-text-fill-color: initial !important;
}

.bene-cta p {
    color: rgba(255,255,255,0.85) !important;
    font-size: 0.95rem !important;
    margin-bottom: 0 !important;
    -webkit-text-fill-color: initial !important;
}

.about-quote {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    margin-bottom: 2rem;
}

.about-quote::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--orange-light);
    position: absolute;
    top: -0.5rem;
    left: 1.5rem;
    line-height: 1;
}

.about-quote p {
    font-size: 1rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.85 !important;
    padding-left: 1rem;
}

.about-reports a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-main) !important;
    font-size: 0.93rem;
    font-weight: 600;
    transition: background 0.2s, transform 0.15s;
    margin-bottom: 0.6rem;
}

.about-reports a:hover {
    background: var(--orange-light);
    transform: translateX(4px);
    color: var(--orange) !important;
}

.adoption-section {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 0 3rem;
}

.adoption-intro {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    font-size: 0.96rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.adoption-guarantee {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--orange-light);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--orange-dark) !important;
}

.adoption-guarantee i {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--orange);
}

.adoption-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 640px) {
    .adoption-cards-grid {
        grid-template-columns: 1fr;
    }
}

.adoption-animal-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.adoption-animal-card .aac-header {
    background: linear-gradient(135deg, var(--bordeaux-dark), var(--bordeaux));
    color: #fff;
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.adoption-animal-card .aac-header h3 {
    color: #fff !important;
    font-size: 1.05rem !important;
    margin: 0 !important;
    -webkit-text-fill-color: initial !important;
}

.adoption-animal-card .aac-header i {
    font-size: 1.2rem;
}

.adoption-animal-card .aac-body {
    padding: 1.25rem 1.5rem;
}

.adoption-animal-card .aac-body p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.adoption-animal-card .aac-steril {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fed7aa;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.adoption-price-table {
    width: 100%;
    margin-top: 1rem;
    border-collapse: collapse;
}

.adoption-price-table tr:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.adoption-price-table td {
    padding: 0.5rem 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.adoption-price-table td:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--orange);
}

.adoption-requirements {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.adoption-requirements h3 {
    font-size: 1rem !important;
    color: var(--text-main) !important;
    margin-bottom: 0.75rem !important;
    -webkit-text-fill-color: initial !important;
}

.adoption-membership {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.adoption-membership .am-title {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #92400e;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 7px;
}

.adoption-membership li {
    font-size: 0.88rem;
    color: #78350f;
    line-height: 1.7;
    margin-bottom: 0.2rem;
    list-style-type: disc !important;
}

.adoption-conscience {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.8;
}

.adoption-confirm {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 1.25rem;
    background: #f9fafb;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
    font-size: 0.93rem;
    cursor: pointer;
}

.adoption-confirm input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--orange);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .footer-inner {
        gap: 2rem;
        padding: 0 1.25rem 2rem;
    }
    .footer-col {
        min-width: 140px;
    }
    .bene-roles-grid {
        grid-template-columns: 1fr;
    }
    .animals-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
}

.page-hero {
    text-align: center;
    padding: 2.5rem 1rem 1rem;
    width: 100%;
}

.page-hero h2 {
    font-size: 2rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #85182c 30%, var(--orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: fit-content;
    margin: 0 auto 0.4rem !important;
    padding: 0 !important;
    text-align: center;
}

.page-hero .subtitle {
    display: block;
    width: fit-content;
    margin: 0 auto !important;
    padding: 0 !important;
    color: var(--text-secondary) !important;
    font-size: 0.97rem !important;
    -webkit-text-fill-color: initial;
    text-align: center;
}

.story-section {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 2.5rem;
    margin: 0.5rem 0 2rem;
    border: 1px solid var(--border-color);
}

.story-section .header {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
}

.story-section .description p {
    color: var(--text-secondary) !important;
    line-height: 1.8 !important;
    font-size: 0.96rem !important;
}

.story-section .extra {
    color: var(--orange) !important;
    font-weight: 600;
    font-size: 0.95rem !important;
    font-style: italic;
}

#containerConditions {
    background: #fff !important;
    color: var(--text-main) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-md) !important;
    border: 1px solid var(--border-color) !important;
    padding: 2.5rem !important;
    font-weight: 500 !important;
    line-height: 1.8 !important;
}

#titleContainer4 {
    font-size: 2rem !important;
    color: var(--text-main) !important;
}

#containerConditions h2 {
    font-size: 1.3rem !important;
    color: var(--orange) !important;
    margin-top: 1.5rem !important;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--orange-light);
}

.health-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    border-radius: 20px !important;
    padding: 5px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background: #f3f4f6 !important;
    color: #6b7280 !important;
    border: 1px solid #e5e7eb !important;
}

.health-badge.badge-yes {
    background: #f0fdf4 !important;
    color: #166534 !important;
    border-color: #bbf7d0 !important;
}

.health-badge.badge-warning {
    background: #fff7ed !important;
    color: #9a3412 !important;
    border-color: #fed7aa !important;
}

.gauge-bar-fill {
    background: linear-gradient(90deg, var(--orange), var(--orange-soft)) !important;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--orange) !important;
}

.animal_year.ui.label {
    border-radius: 20px !important;
    transition: background 0.2s, color 0.2s !important;
    background: #f3f4f6 !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color) !important;
    font-weight: 600 !important;
}

.animal_year.ui.label.orange {
    background: var(--orange) !important;
    color: #fff !important;
    border-color: var(--orange) !important;
}

#sign {
    font-family: 'Style Script', cursive !important;
    font-size: 1.6rem !important;
    color: var(--orange) !important;
    display: block;
    margin-top: 0.75rem;
}

.mentions-legales {
    max-width: 780px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.mentions-legales h1 {
    font-size: 2rem !important;
    margin-bottom: 0.3rem !important;
}

.mentions-legales > .subtitle {
    color: var(--text-secondary) !important;
    font-size: 0.9rem !important;
    -webkit-text-fill-color: initial;
    display: block;
    margin-bottom: 2rem;
}

.mentions-legales h2 {
    font-size: 1.05rem !important;
    color: var(--orange) !important;
    margin-top: 2rem !important;
    margin-bottom: 0.5rem !important;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--orange-light);
    -webkit-text-fill-color: initial;
}

.mentions-legales p,
.mentions-legales li {
    color: var(--text-secondary) !important;
    font-size: 0.93rem !important;
    line-height: 1.75 !important;
    margin-bottom: 0.5rem !important;
}

.mentions-legales ul {
    padding-left: 1.4rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .page-hero h2 {
        font-size: 1.5rem !important;
    }

    .story-section {
        padding: 1.5rem !important;
    }

    #containerConditions {
        padding: 1.5rem !important;
    }

    footer .footer-social {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

.adoption-requirements li,
.adoption-requirements ul,
.adoption-membership li,
.adoption-membership ul,
.bene-role-card li,
.bene-role-card ul,
.bene-intro li,
.mentions-legales li,
.mentions-legales ul,
.about-quote li,
.about-quote ul,
.animal-page li,
.animal-page ul,
.footer-links li,
.footer-inner li {
    color: var(--text-secondary) !important;
    padding: 0.15rem 0 !important;
    list-style-type: initial !important;
}

.adoption-requirements ul,
.adoption-membership ul,
.bene-role-card ul,
.mentions-legales ul,
.about-quote ul,
.animal-page ul {
    display: block !important;
    flex-direction: initial !important;
    padding-left: 1.3rem !important;
    margin: 0.4rem 0 !important;
}

.gauge-label i,
.gauge-label .fa-heart {
    color: inherit !important;
    font-size: inherit !important;
}

.page-hero h2::selection,
.page-hero h2 *::selection {
    background: #e48e37;
    -webkit-text-fill-color: #fff;
}

.home-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1127px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .home-cards-grid {
        grid-template-columns: 1fr;
    }
}

.home-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

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

.home-card-img {
    display: block;
    overflow: hidden;
}

.home-card-img img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.home-card:hover .home-card-img img {
    transform: scale(1.04);
}

.home-card-body {
    padding: 1rem;
}

.home-card-title {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.home-card-title:hover {
    color: var(--orange);
}

.home-card-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.home-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border-color);
    background: #f9fafb;
    color: var(--orange);
    font-weight: 600;
    font-size: 0.88rem;
    text-align: center;
    transition: background 0.2s;
}

.home-card-btn:hover {
    background: var(--orange-light);
}

.animal-agree-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
}

.animal-agree-badge.agree-ok {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.animal-agree-badge.agree-unknown {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.animal-agree-badge.agree-no {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.animal-meta-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    margin-top: 0.6rem !important;
}

.animal-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.animal-meta-chip.chip-female {
    background: #fdf2f8;
    color: #9d174d;
    border-color: #fbcfe8;
}

.animal-meta-chip.chip-male {
    background: #eff6ff;
    color: #1e40af;
    border-color: #bfdbfe;
}

.animal-meta-chip.chip-location {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}

.animal-meta-chip i {
    font-size: 0.95rem;
}

@media (min-width: 769px) {
    .animal-gallery-col {
        position: sticky;
        top: 80px;
        align-self: start;
    }
}

.gallery-main-img {
    width: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
}
