.navbar .navbar-brand img {
    max-width: 150px;
}

.btn-red {
    background-color: #ed2224;
    border-color: #d61919;
    color: #fff;
    overflow: visible;
    }
.messagecookies {
    width: 650px;
    max-width: 90%;
    height: auto;
    background-color: #fff;
    z-index: 9999;
    border-radius: 4px;
}

.messagecookies .messagecookies_container {
    position: relative;
    padding: 20px;
    text-align: center;
}
.messagecookies p {
    margin: 0px 0px 20px 0px;
    font-size: 14px;
    color: #000;
    text-align: center;
}
.messagecookies p a {
    color: #000;
    text-decoration: underline;
}
.messagecookies a.messagecookies_accept,
.messagecookies a.messagecookies_reject
 {
    padding: 10px;
    background: #ed2224;
    color: #fff;
    display: inline-block;
    text-decoration: none;
    margin-left: 10px 0px 10px 0px;
    border-radius: 4px;
    font-weight: 700;
}
.messagecookies a.messagecookies_reject
 {
    
    background: #fff;
    color: #000;
    font-weight: 400;
}


.messagecookies-container-popup {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.8);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
}

.btn.btn-pet,
.btn.btn-pet-dron,
.btn.btn-pet-wedding
{
    position: relative;
    margin-top: 30px;
    margin-bottom: 30px;
}
.btn-pet:after {
    width: 50px;
    content: " ";
    background-image: url(../img/pet.png);
    position: absolute;
    right: -20px;
    top: -40px;
    height: 54px;
    background-size: 100%;
    background-repeat: no-repeat;
    z-index: 1;
visibility: visible;
opacity: 1;
bottom: auto;
}
.btn-pet-dron:after {
    width: 100px;
    content: " ";
    background-image: url(../img/pet-dron.png);
    position: absolute;
    left: -70px;
    top: -50px;
    height: 75px;
    background-size: 100%;
    background-repeat: no-repeat;
    z-index: 1;
visibility: visible;
opacity: 1;
bottom: auto;
}
.btn-pet-wedding:after {
    width: 70px;
    content: " ";
    background-image: url(../img/pet-wedding.png);
    position: absolute;
    right: -20px;
    top: -40px;
    height: 75px;
    background-size: 100%;
    background-repeat: no-repeat;
    z-index: 1;
visibility: visible;
opacity: 1;
bottom: auto;
}

.isotope-alt-details {
    -webkit-transition: all 200ms ease-in-out; -moz-transition: all 200ms ease-in-out; -ms-transition: all 200ms ease-in-out; -o-transition: all 200ms ease-in-out; transition: all 200ms ease-in-out;
   }

   .isotope-alt-image div {
	position: absolute; bottom: 0; left: 0; display: none; background: rgba(231,76,60,0.85); width: 100%; height: 100%; padding: 30px; color: #fff; text-align: left;
}

.isotope-alt-image div h4 {
	color: #fff; font-size: 20px;
}
.isotope-alt-image div h4 small {
	color: #fff;
    display: block;
}


.isotope-alt-image div h4 small {
	font-size: 16px;
}

.portfolio-isotope li {
	float: left; width: 30%; position: relative;
}

.portfolio-isotope li {
	margin-bottom: 30px; padding-right: 25px;
}

.portfolio-isotope li:hover .isotope-alt-details {
	opacity: 0; pointer-events: none;
}

.isotope-alt-details {
	text-align: center; position: absolute; bottom: 0; left: 0; width: 100%; padding-right: 25px;
}

.isotope-alt-details div {
	display: block;
    background: #000000;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 25%, rgba(0, 0, 0, 0.8) 100%);
        border-top: none;
}

.portfolio-isotope {
	width: 995px; margin: 0 auto 10px;
}

.isotope-alt-details h3 {
	padding-top: 10px; 
        color: #fff;
        font-size: 16px;
}

.isotope-alt-details .meta {
	position: relative; padding-bottom: 13px; margin-bottom: 0;
        color: #fff;
}

.isotope-alt-image {
	position: relative; display: block; overflow: hidden; text-align: center;
}

.isotope-alt-image img {
	width: 100%;
}

#load-more {
	width: 100%; text-align: center; font-size: 24px; cursor: pointer; background: #fff; display: block; margin-bottom: 30px; color: #414141;
}

#load-more:hover, #filters a:hover, #filters a.active {
	border-color: #b7b7b7; color: #111;
}



#filters a {
	border: 1px solid #e5e5e5; padding: 7px 13px; box-shadow: 0 1px 1px #eaeaea, inset 0 1px 0 #fbfbfb; margin: 0 0 10px 5px; display: inline-block;
}

#loader {
	opacity: 0; position: relative; bottom: -50px; max-width: 770px; width: 90%;
	margin: 0 auto;
}

.portfolio-close {
	position: absolute; display: block; width: 100%; text-align: center; margin-bottom: 20px; top: -55px; font-size: 44px; color: #c7c7c7;
}

.overflow-hidden article {
	position: relative; top: 50px;
}

@media only screen and (min-width: 1199px) {

	.portfolio-isotope {
		width: 1215px;
	}

}



@media only screen and (max-width: 991px) {

	.portfolio-isotope li {
		width: 49.8%;
	}
	
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 991px) {

	.portfolio-isotope {
		width: 803px;
	}

}

@media only screen and (max-width: 767px) {

	.portfolio-isotope {
		width: 509px;
	}

}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {}


/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {

	.portfolio-isotope li {
		width: 100%;
	}

	.portfolio-isotope {
		width: 325px;
	}

}

/*-----------------------------------------------------------------------------------*/
/*	END RESPONSIVE STYLING
/*-----------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------*/
/*	END PORTFOLIO STYLES
/*-----------------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------------*/
/*	THEME / DOMAIN OVERRIDES
/*-----------------------------------------------------------------------------------*/

/* Almawedding (theme-light): header claro */
.theme-light .header-wrap.style3 {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.theme-light .header-wrap.style3 .navbar .navbar-nav .nav-item a {
    color: #333;
}
.theme-light .header-wrap.style3 .navbar .navbar-nav .nav-item a:hover,
.theme-light .header-wrap.style3 .navbar .navbar-nav .nav-item a:focus,
.theme-light .header-wrap.style3 .navbar .navbar-nav .nav-item a.active {
    color: #D72324;
}
.theme-light .header-wrap.style3 .mobile-menu a i {
    color: #333;
}
.theme-light .header-wrap.style3.sticky {
    background-color: #fff;
}
.theme-light .header-wrap.style3 .navbar .navbar-nav .nav-item .dropdown-menu {
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.theme-light .header-wrap.style3 .navbar .navbar-nav .nav-item .dropdown-menu li a {
    color: #333;
}
.theme-light .header-wrap.style3 .navbar .navbar-nav .nav-item .dropdown-menu li a:hover,
.theme-light .header-wrap.style3 .navbar .navbar-nav .nav-item .dropdown-menu li a.active {
    color: #D72324;
}
/* Almawedding (theme-light): service cards */
.theme-light .service-card.style3 .service-info h3 a {
    color: #333;
}
.theme-light .service-card.style3 .service-info p {
    color: #666;
}
.theme-light .service-card.style3:hover {
    background-color: #f8f9fa;
}
.theme-light .service-card.style3:hover .service-info h3 a {
    color: #D72324;
}

/* Almawedding (theme-light): formulario de contacto global */
.theme-light .contact-wrap.style2 #contactForm .form-group input,
.theme-light .contact-wrap.style2 #contactForm .form-group textarea {
    color: #333;
    border-bottom-color: rgba(0, 0, 0, 0.15);
}
.theme-light .contact-wrap.style2 #contactForm .form-group input::placeholder,
.theme-light .contact-wrap.style2 #contactForm .form-group textarea::placeholder {
    color: #888;
    opacity: 1;
}
.theme-light .contact-wrap.style2 .checkbox-label {
    color: #555;
}
.theme-light .contact-wrap.style2 .checkbox-label a {
    color: #D72324;
}
/* Almawedding (theme-light): página de contacto individual */
.theme-light .contact-wrap #contactForm .form-group input,
.theme-light .contact-wrap #contactForm .form-group textarea {
    color: #333;
    border-color: rgba(0, 0, 0, 0.15);
}
.theme-light .contact-wrap #contactForm .form-group input::placeholder,
.theme-light .contact-wrap #contactForm .form-group textarea::placeholder {
    color: #888;
    opacity: 1;
}
.theme-light .contact-content .content-title h2 {
    color: #333;
}
.theme-light .contact-content .contact-info li p,
.theme-light .contact-content .contact-info li a {
    color: #555;
}
.theme-light .team-card .team-info h3 {
    color: #333;
}

/* Contacto: checkbox fix */
#contactForm .form-group.form-check input[type="checkbox"] {
    height: auto;
    width: auto;
}

/* Contacto: team contact details */
.team-contact-detail {
    margin: 5px 0 0;
    font-size: 14px;
}
.team-contact-detail i {
    color: #D72324;
    margin-right: 5px;
}
.team-contact-detail a {
    color: #888;
    transition: 0.3s;
}
.team-contact-detail a:hover {
    color: #D72324;
}

/* Dark mode: social profile buttons */
.theme-dark .contact-content .social-link .social-profile li a {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}
.theme-dark .contact-content .social-link .social-profile li a i {
    color: #fff;
}
.theme-dark .contact-content .social-link .social-profile li a:hover {
    background-color: #D72324;
    border-color: #D72324;
}

/* Blog post detail meta */
.blog-post-meta span {
    margin-right: 20px;
    font-size: 14px;
    color: #888;
}
.blog-post-meta span i {
    color: #D72324;
    margin-right: 5px;
}
.blog-post-meta span a {
    color: #888;
    transition: 0.3s;
}
.blog-post-meta span a:hover {
    color: #D72324;
}
.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}
.blog-post-tags .tag-link {
    display: inline-block;
    padding: 4px 12px;
    margin: 0 5px 5px 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    font-size: 13px;
    color: #888;
    transition: 0.3s;
}
.blog-post-tags .tag-link:hover {
    border-color: #D72324;
    color: #D72324;
}
.blog-post-source {
    font-size: 14px;
    color: #888;
}
.blog-post-source a {
    color: #D72324;
}
.blog-post-share span {
    color: #888;
    font-size: 14px;
}
.theme-light .blog-post-footer {
    border-top-color: rgba(0, 0, 0, 0.1) !important;
}
.theme-light .blog-post-tags .tag-link {
    border-color: rgba(0, 0, 0, 0.15);
    color: #555;
}
.theme-light .blog-post-tags .tag-link:hover {
    border-color: #D72324;
    color: #D72324;
}

@media only screen and (max-width: 991px) {
    .theme-light .main-menu-wrap {
        background-color: #fff;
    }
    .theme-light .header-wrap .navbar .navbar-nav .nav-item a {
        color: #333;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
    .theme-light .header-wrap .navbar .navbar-nav .nav-item a:hover,
    .theme-light .header-wrap .navbar .navbar-nav .nav-item a.active {
        color: #D72324;
    }
    .theme-light .menu-close i,
    .theme-light .header-wrap .navbar .navbar-nav .nav-item .menu-expand i {
        color: #333;
    }
    .theme-light .mobile-top-bar span {
        background-color: #333;
    }
}

/* Light mode: CTA section in project detail */
.theme-light .cta-wrap.bg-shark {
    background-color: #f8f9fa;
}

/* Alma Wedding hero: YouTube background video stays behind the overlay/content */
.hero-wrap.style3 .mbYTP_wrapper,
.hero-wrap.style3 .mb_YTPlayer {
    z-index: -2;
}
.hero-wrap.style3 .hero-video-mute {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 10;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

/* Projects listing: video popup */
.project-video-modal .modal-content {
    background-color: #111;
    border: none;
    min-height: 100vh;
}
.project-video-modal .btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
    filter: invert(1);
}
.project-video-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 70px;
    box-sizing: border-box;
}
.project-video-media {
    width: 100%;
    max-width: 1100px;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 5px;
}
.project-video-media iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Home: sección de servicios — franjas cinemáticas */
.svc-cine-wrap {
    padding: 100px 0 40px;
    overflow: hidden;
}
.svc-cine-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 70vh;
    max-height: 620px;
}
.svc-cine-row:nth-child(even) {
    direction: rtl;
}
.svc-cine-row:nth-child(even) > * {
    direction: ltr;
}
.svc-cine-media {
    position: relative;
    overflow: hidden;
}
.svc-cine-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.svc-cine-row:hover .svc-cine-media img {
    transform: scale(1.04);
}
.svc-cine-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 8vw;
}
.svc-cine-idx {
    font-family: "Playfair Display", serif;
    font-size: 13px;
    letter-spacing: 0.1em;
    color: #D72324;
    margin-bottom: 18px;
}
.svc-cine-text h3 {
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-size: clamp(32px, 3.6vw, 52px);
    line-height: 1.05;
    color: #fff;
    margin: 0 0 22px;
}
.svc-cine-text p {
    color: #ccc;
    font-size: 16px;
    line-height: 1.7;
    max-width: 46ch;
    margin: 0 0 26px;
}
.svc-cine-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    width: fit-content;
    padding-bottom: 4px;
    border-bottom: 1px solid #D72324;
}
.svc-cine-cta i {
    font-size: 12px;
    transition: transform 0.2s ease;
}
.svc-cine-cta:hover {
    color: #fff;
}
.svc-cine-cta:hover i {
    transform: translateX(4px);
}

@media (max-width: 860px) {
    .svc-cine-row {
        grid-template-columns: 1fr;
        min-height: auto;
        max-height: none;
    }
    .svc-cine-media {
        height: 46vh;
    }
    .svc-cine-row:nth-child(even) {
        direction: ltr;
    }
    .svc-cine-text {
        padding: 44px 7vw;
    }
}

/* Formulario de contacto: iconos de redes sociales invisibles en tema oscuro
   (dark-theme.css fuerza el icono a blanco pero el círculo de fondo sigue blanco) */
.theme-dark .social-profile.style1 li a {
    background-color: transparent;
}

/* Hero: grupo de 3 CTAs (proyectos / servicios / contacto) */
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Landing específica del servicio Drone */
.drone-header {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: flex-end;
    background-color: #1E2327;
    background-size: cover;
    background-position: center;
    padding-bottom: 60px;
    margin-top: 84px;
}
.drone-header-noimg {
    background: linear-gradient(155deg, #2b2f33 0%, #17191b 70%);
}
.drone-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 21, 23, 0.15) 0%, rgba(18, 21, 23, 0.95) 100%);
}
.drone-header .container {
    position: relative;
    z-index: 2;
}
.drone-header-breadcrumb {
    margin-bottom: 18px;
}
.drone-header-breadcrumb li {
    display: inline-block;
    color: rgba(244, 241, 234, 0.6);
    font-size: 13px;
}
.drone-header-breadcrumb li a {
    color: rgba(244, 241, 234, 0.8);
}
.drone-header-breadcrumb li:not(:last-child):after {
    content: "/";
    margin: 0 8px;
    color: rgba(244, 241, 234, 0.35);
}
.drone-header h1 {
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-size: clamp(40px, 6vw, 76px);
    color: #fff;
    margin: 0 0 18px;
}
.drone-header-resume {
    color: #ccc;
    font-size: 17px;
    line-height: 1.7;
    max-width: 55ch;
    margin: 0;
}

.drone-section {
    padding: 70px 0;
}

.drone-usecases {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.drone-tag {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.02em;
    padding: 9px 18px;
    border-radius: 999px;
}

.drone-trust-item {
    text-align: center;
    padding: 0 20px;
}
.drone-trust-item i {
    font-size: 32px;
    color: #D72324;
    margin-bottom: 18px;
    display: inline-block;
}
.drone-trust-item h3 {
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-size: 22px;
    color: #fff;
    margin: 0 0 10px;
}
.drone-trust-item p {
    color: #ccc;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.drone-idx {
    font-family: "Playfair Display", serif;
    font-size: 13px;
    letter-spacing: 0.1em;
    color: #D72324;
    margin-bottom: 12px;
}
.drone-section h2 {
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-size: clamp(24px, 2.6vw, 32px);
    color: #fff;
    margin: 0 0 16px;
}
.drone-section .row p {
    color: #ccc;
    line-height: 1.7;
    margin: 0;
}

.drone-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.drone-pill {
    background: rgba(215, 35, 36, 0.12);
    color: #fff;
    font-size: 13px;
    padding: 7px 16px;
    border-radius: 999px;
}

.drone-press-item {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    background: linear-gradient(155deg, #2b2f33 0%, #17191b 70%);
}
.drone-press-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.drone-press-item:hover img {
    transform: scale(1.05);
}
.drone-press-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #D72324;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 2;
}
.drone-press-item-noimg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.drone-press-item-noimg .drone-press-play {
    position: static;
    transform: none;
}
.drone-press-label {
    color: #ccc;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}