* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    background-color: #f7f3ee;
    color: #333;
	/*background-image: url(../imagenes/bg_botanico_01.svg)*/
/*	background-image: url(../imagenes/bg_geometrico_01.svg);
	background-size: 300px;*/
	
}

/* Header inspirado en Montevideo Portal */
.header {
    background: #4b585b;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: left;
    align-items: center;
}

.logo {
    width: 190px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #E5512A;
    font-size: 24px;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.logo-text p {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 2px;
}



/* Main Container */
.container {
    max-width: 1200px;
    margin: 20px auto 30px auto;
    padding: 0 20px;
}

/* Page Title */
.page-title {
   /* background: white;*/
    padding: 25px 30px;
    border-radius: 10px;
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.08);*/
    margin-bottom: 25px;
}

.page-title h1 {
    font-size: 36px;
    color: #30302e;
    margin-bottom: 8px;
	font-family: the-seasons, sans-serif;
}

.page-title p {
    color: #666;
    font-size: 16px;
}

/* Filters Section */
.filters {
    background: #efebe7;
    padding: 25px 30px;
    border-radius: 5px;
   /* box-shadow: 0 2px 8px rgba(0,0,0,0.08);*/
    margin-bottom: 25px;
}

.filters-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c2c2c;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group input,
.filter-group select {
    padding: 10px 12px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #b77f50;
}

.btn-filter {
    padding: 12px 24px;
    background: #b77f50;
    color: white;
    border: none;
    /*border-radius: 6px;*/
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-filter:hover {
    background: #a16532;
    transform: translateY(-1px);
    /*box-shadow: 0 4px 12px rgba(229, 81, 42, 0.3);*/
}

/* Results Count */
.results-count {
    padding: 15px 20px;
    /*background: #f8f9fa;*/
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (max-width: 768px) {
.results-count {
flex-direction: column;
gap: 15px;}
	}

.results-count span {
    font-size: 14px;
    color: #666;
}

.results-count strong {
    color: #b77f50;
    font-size: 16px;
}

/* Date Selector */
.date-selector {
    display: flex;
    gap: 10px;
}

.date-btn {
    padding: 6px 12px;
    background: #f7f3ee;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.date-btn.active {
    background: #f7f3ee;
    color: white;
    border-color: #b77f50;
}

.date-btn:hover {
    border-color: #b77f50;
}

/* Service Cards */
.services-grid {
    display: grid;
    gap: 20px;
}

.service-card {
    background: #efebe7;
	background-image: url(../imagenes/bg_hojas.svg);
	background-repeat: no-repeat;
	background-size: 70px;
	background-position: top right;
 	border-radius: 5px;
   /* box-shadow: 0 2px 8px rgba(0,0,0,0.08);*/
    padding: 25px;
    transition: all 0.3s;
    /*border-left: 4px solid #cccccc;*/
}

.service-card:hover {
   /* box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);*/
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #efebe7;
}

.service-name {
    flex: 1;
}

.service-name h3 {
    font-size: 20px;
    color: #2c2c2c;
    margin-bottom: 12px;
    font-weight: 700;
	font-family: "ivyora-display", serif;
}
@media (max-width: 768px) {
	.service-name h3 {
		width: 250px;}
}
.service-company {
    display: inline-block;
    padding: 8px 16px;
   /* background: linear-gradient(135deg, #E5512A 0%, #d64525 100%);*/
    /*border-radius: 6px;*/
    font-size: 14px;
    color: #a16532;
    font-weight: 600;
    margin-right: 10px;
  /*  box-shadow: 0 2px 4px rgba(229, 81, 42, 0.2);*/
    letter-spacing: 0.3px;
	border: solid 1px #a16532;
	
}

.service-meta {
    display: inline-block;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.service-date {
    text-align: right;
    color: #666;
    font-size: 13px;
}

.service-date-value {
    font-size: 15px;
    font-weight: 600;
    color: #E5512A;
    display: block;
    margin-top: 4px;
}

/* New Schedule Layout */
.service-schedule {
    margin-bottom: 20px;
}

.schedule-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.schedule-item {
 	border-radius: 4px;
    padding: 20px;
    display: flex;
    gap: 15px;
    transition: all 0.3s;
    border: 1px solid #bfbfbf;
}
.schedule-item.single-schedule {
    grid-column: 1 / -1;
}

.schedule-item:hover {
  /*  background: #e7e8e8;*/
    border-color: #cccccc;
   /* box-shadow: 0 2px 8px rgba(229, 81, 42, 0.15);*/
}

.schedule-item.velatorio {
    border-left: 4px solid #b37037;
}

.schedule-item.sepelio {
    border-left: 4px solid #666666;
}
.schedule-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.schedule-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
}

.schedule-time {
    font-size: 18px;
    font-weight: 700;
    color: #2c2c2c;
    line-height: 1.2;
}

.schedule-location {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.schedule-note {
    font-size: 12px;
    color: #999;
    font-style: italic;
    margin-top: 8px;
}

.schedule-location.destacado:before{
	content: "";
    display: inline-block;
    vertical-align: bottom;
    height: 17px;
	width: 17px;
	margin-right:5px;
	background-image: url(../imagenes/arrow.svg), none;
}

/* Actions */
.service-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 15px;
    border-top: 2px solid #f5f5f5;
}

.action-btn {
    flex: 1;
    min-width: 150px;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.action-btn:hover {
    background: #f8f9fa;
    border-color: #E5512A;
    color: #E5512A;
}

.action-btn.primary {
    background: white;
    color: #555;
    border-color: #ddd;
}

.action-btn.primary:hover {
    background: #f8f9fa;
    border-color: #999;
    color: #333;
}

.action-btn.secondary {
    background: #32CD32;
    color: white;
    border-color: #32CD32;
}

.action-btn.secondary:hover {
    background: #28a428;
}

/* Icons (using emoji as simple solution) */
.icon {
    font-size: 16px;
}

/* Empty State */
.empty-state {
    background: white;
    padding: 60px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 20px;
    color: #666;
    margin-bottom: 10px;
}

.empty-state p {
    color: #999;
    font-size: 14px;
}

/* Footer */
.notVisible {
    position: absolute;
    top: -9999px;
    left: -9999px;
}
.footer {
    background: #2c2c2c;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #E5512A;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
	.logo {
    width: 150px;
}
	.page-title{
   padding: 0;
}
    .header-container {
        gap: 15px;
    }

    .filters-grid {
        grid-template-columns: 1fr;
    }

    .service-header {
        flex-direction: column;
        gap: 10px;
    }

    .service-date {
        text-align: left;
    }

    .action-btn {
        min-width: 100%;
    }

    .date-selector {
        flex-wrap: wrap;
    }

    .schedule-main {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Loading State */
.loading {
    display: none;
    text-align: center;
    padding: 40px;
    color: #666;
}

.loading.active {
    display: block;
}

/* Badge for cremation */
.badge {
    display: inline-block;
    padding: 4px 10px;
    background: #f0f0f0;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-left: 8px;
}

.badge.cremation {
    background: #fff3cd;
    color: #856404;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.pagination button {
    min-width: 36px;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #f7f3ee;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s;
}

.pagination button:hover {
    border-color: #a16532;
    color: #666;
}

.pagination button.active {
    background: #a16532;
    color: white;
    border-color: #a16532;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/*footer portal*/
#footer {
    width: 100%;
    overflow: hidden;
	background-color: #4b585b;
	color:#ffffff;
}
.wrapper {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 25px;
    padding-left: 25px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}
ul {
    list-style: none;
}

@media (min-width: 768px) {
    #footer .top {
        padding-bottom: 35px;
    }
	#footer .top .logo {
        margin-left: 0;
    }
}
@media (min-width: 980px) {
    #footer {
        padding: 50px 0 60px;
        margin-top: 80px;
    }
	  #footer .top {
        position: relative;
    }
}
@media (min-width: 1200px) {
    #footer .top .logo {
        position: absolute;
        right: -10px;
        top: 6px;
        margin: 0;
    }
	#footer .top ul li {
        display: inline-block;
        vertical-align: middle;
    }
	#footer .top .menu li + li:before {
        content: "";
        display: inline-block;
        vertical-align: middle;
        height: 17px;
        width: 1px;
        position: relative;
        top: -1px;
        background: #fff;
        margin: 0 12px;
    }
	    #footer .top #footer-nav {
        margin-top: 10px;
    }
	#footer .topdos .logoas {
        position: absolute;
        right: 30px;
        top: 16px;
        margin: 0;
    }
	    #footer .topdos .logogp {
        position: absolute;
        right: -108px;
        top: 16px;
        margin: 0;
        padding-left: 40px;
    }
}

@media (max-width: 768px) {
    #footer {
        text-align: center;
		padding-top: 40px;
        padding-bottom: 45px;
    }
}


#footer .top ul li {
    font-size: 16px;
    color: #fff;
}
#footer .top ul li a{
    font-size: 16px;
    color: #fff;
	text-decoration: none;
}
#footer .top .logo {
    display: block;
    width: 75%;
    max-width: 270px;
    margin: 0 auto;
}
#footer .top .logo:before {
    content: "";
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 7.971%;
    background: no-repeat center;
    background-size: contain;
    background-image: url(../imagenes/mvdcomm-logo.svg), none;
}
#footer .top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 30px;
}
 #footer .topdos{
    border-bottom:0;
    padding-bottom:0; margin-top: 20px;
	 position:relative;
}

#footer .topdos .logogp {
    display:block;
    width:100%;
    max-width: 270px;
    margin:0 auto;
}
#footer .topdos .logogp:before{
    content:"";
    display:block;
    width:100%;
    height:0;
    padding-bottom:7.971%;
    background:no-repeat center;
    background-size:contain;
    background-image:url(../imagenes/googleplay.png);
    background-image:url(../imagenes/googleplay-01.svg), none;
}

#footer .topdos .logoas {
    display:block;
    width:100%;
    max-width: 270px;
    margin:0 auto;
}
#footer .topdos .logoas:before{
    content:"";
    display:block;
    width:100%;
    height:0;
    padding-bottom:7.971%;
    background:no-repeat center;
    background-size:contain;
    background-image:url(../imagenes/applestore.png);
    background-image:url(../imagenes/applestore-01.svg), none;
}


#footer .topdos .datos,
#footer .topdos #footer-nav{
    margin-top:30px;
	color:#ffffff;
}
#footer .topdos ul li{
    font-size:16px;
    color:#fff;
}
#footer .topdos ul li a{
    color:#fff;
    text-decoration: underline;
}
#footer .topdos ul li a:hover,
#footer .topdos ul li a:focus{
    color:#ce5243;
}
#footer .topdos .menu li{
    margin-top:5px;
}
#footer .topdos ul li
#footer p{
    font-size:1.6em;
    margin-top:30px;
    color:#b1b1b1;
}
/* boton para menu de navegacion*/

#header #menu-btn {
	display: block;
    width: 50px;
    height: 50px;
    left: 10px;
    top: 10px;
	background-color: transparent;
	border:0;
	margin-right: 15px;
   }
#header #menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
 }
#header #menu-btn span {
        display: block;
        width: 24px;
        height: 3px;
        position: relative;
        margin: 0 auto;
        background-color: #fff;
    }
#header #menu-btn span:before, #header #menu-btn span:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: -7px;
    background-color: #fff;
	}
#header #menu-btn span:after {
    top: 7px;
	}
@media (max-width: 768px) {
#header #menu-btn {
	margin-right: 0;
	margin-left: -10px;
   }
}