@charset "UTF-8";
/* Simple fluid media
   Note: Fluid media requires that you remove the media's height and width attributes from the HTML
   http://www.alistapart.com/articles/fluid-images/ 
*/
img, object, embed, video {
	max-width: 100%;
}
/* IE 6 does not support max-width so default to width 100% */
.ie6 img {
	width:100%;
}

/*
	Dreamweaver Fluid Grid Properties
	----------------------------------
	dw-num-cols-mobile:		4;
	dw-num-cols-tablet:		10;
	dw-num-cols-desktop:	10;
	dw-gutter-percentage:	25;
	
	Inspiration from "Responsive Web Design" by Ethan Marcotte 
	http://www.alistapart.com/articles/responsive-web-design
	
	and Golden Grid System by Joni Korpi
	http://goldengridsystem.com/
*/

/* Mobile Layout: 480px and below. */

.gridContainer {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
    background: url("../images/background.jpg");
    background-size: cover;
    background-repeat: repeat;
}
header {
    clear: both;
	float: left;
    display: block;
    width: 100%;
    background: url("../images/background2.jpg");
    background-size: 100% auto;
    background-position: bottom center;
}
#slide {
	clear: both;
	float: left;
	margin-left: 0;
    padding: 20% 30% 35%;
	width: 40%; 
	display: block;
    background: url("../images/selah-spa-masajes-terapeuticos-corporales-faciales-day-spa-radiofrecuencia-exfoliacion-fangos-magnetoterapia-piedras-calientes-header.jpg");
    background-size: cover;
    background-position: center;
    clip-path: ellipse(120% 90% at 10% 10%);
}
#logo {
	clear: both;
    float: left;
    width: 100%;
    display: block;
    text-align:center;
    z-index:1000;
}
#service {
    clear: both;
	float: left;
    width: 70%;
    padding: 10% 15%;
    text-align: center;
}

/* ===== Contenedor general ===== */
.service-item {
    padding: 28px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: #fff;
    transition: 
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

/* ===== Cabecera (titulo + precio) ===== */
.service-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 10px;
}

.service-head h2 {
    margin: 0;
}

.service-head h3 {
    margin: 0;
    font-weight: 600;
}

/* ===== Hover premium ===== */
.service-item:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.06),
        0 2px 6px rgba(0, 0, 0, 0.04);
}

/* ===== Duración ===== */
.service-item .min {
    margin-top: 12px;
    font-size: 0.9rem;
    opacity: 0.8;
}

footer {
	clear: both;
	float: left;
	margin-left: 0;
	padding: 15% 10%;
	width: 80%;
	display: block;
	text-align: center;
    background: rgb(175,179,54);
background: linear-gradient(180deg, rgba(175,179,54,1) 0%, rgba(86,108,78,1) 95%);
}
#modulo {
	clear: both;
	float: left;
	margin: 0;
	width: 100%;
	display: block;
    background: #fefcfc;
}
#int {
	clear: both;
	float: left;
	margin: 0;
	width: 70%;
	padding: 15%;
	display: block;
    text-align: left;
}

/**EFFECT**/
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(.2,.65,.3,.9);
}

/* Cuando aparece */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* Animación interna elegante */
#int h2,
#int h3,
#int p,
#modulo img {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s ease;
}

li.active #int h2,
li.active #int h3,
li.active #int p,
li.active #modulo img {
    opacity: 1;
    transform: translateY(0);
}

/* Delay progresivo */
li.active #int h2 { transition-delay: 0.15s; }
li.active #int h3 { transition-delay: 0.25s; }
li.active #int p  { transition-delay: 0.35s; }
li.active #modulo img { transition-delay: 0.2s; }

#modulo img {
    width: 100%;
    display: block;
    transition: transform 1.2s ease, filter 1s ease;
    filter: brightness(0.95) contrast(1.05);
}

/* Zoom suave al abrir sección */
li.active #modulo img {
    transform: scale(1.04);
}

/* Oscurecer ligeramente al hover */
li.active #modulo img:hover {
    filter: brightness(1) contrast(1.1);
}

#menu {
	clear: both;
	float: left;
	margin: 0;
	width: 100%;
	display: block;
}
#extra {
    clear: both;
	float: left;
	margin: 0;
	width: 100%;
	display: block;
    border-top: 1px solid #a3ae63;
    border-bottom: 1px solid #a3ae63;
    margin-top: 15%;
    padding: 10% 0;
}
#title {
    clear: both;
	float: left;
	margin: 0;
	width: 100%;
	display: block;
    margin-bottom: 10%;
    text-align: center;
}
/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */

@media only screen and (min-width: 580px) {
.gridContainer {
	width: 100%;
}

#slide {
	clear: both;
	float: left;
	margin-left: 0;
	padding: 18% 5%;
    width: 90%;
	display: block;
    clip-path: ellipse(120% 90% at 10% 10%);
    background-size: 100% auto;
}
#logo {
	margin: 0 35% ;	width: 30%;	display: block;}
#service {
    clear: both;
	float: left;
    width: 80%;
    padding: 5.5% 10% 5%;
}
footer {
	clear: both;
	float: left;
	margin-left: 0;
	width: 70%;
	display: block;
	padding: 13% 15% 10%;
}
#modulo {
	clear: both;
    float: left;
    width: 100%;
    padding: 0;
    display: block;
    margin: 0;
}
#int {
	width: 70%;
	padding: 10% 15%;
}
#extra {
    clear: both;
	float: left;
	margin: 0;
	width: 80%;
	display: block;
    border: 1px solid #a3ae63;
    border-radius: 50px;
    margin-top: 9%;
    padding: 10%;
}
}

/* Desktop Layout: 769px to a max of 1232px.  Inherits styles from: Mobile Layout and Tablet Layout. */

@media screen and (min-width: 1300px) { 
.gridContainer {
	width: 1000px;
}
body { background: #d0cbc5;}
#slide {
    padding: 12% 10%;
    width: 80%;
    clip-path: ellipse(110% 90% at 10% 10%);
}
#logo {
    width: 20%; margin: 0 40%;
    }
#service {
    clear: both;
	float: left;
    width: 80%;
    padding: 4% 10%;
}
#modulo {
    clear: both;
    float: left;
    width: 100%;
    display: block;
}
footer {
	clear: both;
	float: left;
	width: 70%;
	padding: 9% 15% 6%;
}
#int {
	width: 60%;
	padding: 10% 20%;
}
#extra {
    padding: 7% 10%;
}
}
