html {
    scroll-behavior: smooth;
    scroll-padding-top:5.5rem;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    color:#191919;
    box-sizing: border-box;
    margin:0;
}

ul, li {
    list-style:none;
    margin:0;
}

a {
    color:#191919;
}

.text-link {
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    margin-top: 35px;
}

.text-link span {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 51px;
    background: rgb(219,170,96);
    background: linear-gradient(0deg, rgba(219,170,96,1) 0%, rgba(245,197,127,1) 100%);
    color: #fff;
    transition: all 0.2s;
    border-radius: 200em;
    font-size: 22px;
    margin-right: 10px;
    text-align: center;
    position: relative;
    bottom: -3px;
}

a.button-arrow {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height:55px;
    font-size:22px;
    color: #fff;
    border: 1px solid #fff;
    transition: all 0.2s;
    border-radius: 200em;
    text-decoration: none;
    transition:all .2s ease-in;
}


img {
    max-width:100%;
    vertical-align: top;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

img.no-shadow {
    box-shadow:none;
}

.sign {
    line-height:normal;

}

.sign img {
    display:block;
    max-width:140px;
    padding-top:1rem;
    margin-bottom:0.7rem;
}

.sign span {
    font-size:1rem;

}

.sign span span {
    font-size:0.9rem;
    opacity: 0.7;
    text-transform: uppercase;
}

figure {
    margin:0;
    padding:0;
    position:relative;
}

.first-image {
    max-width:700px;
}

.second-image {
    max-width:270px;
    position:absolute;
    right:-50px;
    bottom:-50px;
}

section {
    padding-block:min(10vh, 6rem);
}

#video {
    position:absolute;
    z-index:-1;
    top:0;
    left:0;
    width:100%;
    opacity:0.6;
}

footer {
    border-top:1px solid #e1e1e1;
    padding-top:1rem;
    text-transform:uppercase;
    font-size:0.9rem;
}

footer a {
    text-decoration: none;
    float:right;
}


/* Typography */

body {
    font-size:1rem;
    line-height:2rem;
}

h1 {
    font-family: 'Cormorant', serif;
    font-size:4.6rem;
    line-height:5.6rem;
    font-weight:normal;
}

h2 {
    font-family: 'Cormorant', serif;
    font-size:3.8rem;
    line-height:4.2rem;
    font-weight:normal;
    margin-bottom:0;
}

h3 {
    font-weight:normal;
}

#compra h3 {
    text-transform: uppercase;
    font-size:1.1rem;
    position:relative;
    padding-left:10px;
}

#compra h3:before {
    content:"";
    height:20px;
    width:3px;
    background:#e0b16b;
    display:block;
position:absolute;
left:0;
top:5px;
}

#contacto h4 {
    text-transform: uppercase;
    font-size:1.1rem;
    position:relative;
    padding-left:10px;
    font-weight:normal;
}

#contacto h4:before {
    content:"";
    height:20px;
    width:3px;
    background:#e0b16b;
    display:block;
position:absolute;
left:0;
top:5px;
}

.title-mini  {
    text-transform:uppercase;
    color:#e0b16b;
    font-size:0.8rem;
    position:relative;
}

.title-mini:after {
    content:"";
    height:1px;
    background:#e0b16b;
    width:80px;
    display:inline-block;
    position: relative;
    top: -4px;
    left: 10px;
}

cite {
    position:relative;
    margin-top:10px;
}

cite:before {
    content:"";
    height:1px;
    background:#e0b16b;
    width:80px;
    display:inline-block;
    position: relative;
    top: -4px;
    left: 0;
    margin-right:10px;
}

.text-center {
    text-align:center;
}

.text-big {
    margin-left:0;
    padding-left:0;
    font-size: 1.8rem;
    line-height: 4.2rem;
}

.text-big a {
    text-decoration:none;
}

.row {
    max-width:1640px;
    margin:0 auto;
}

/* Grid System */

.two-columns{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap: 2.5rem;
}

.two-uneven-columns{
    display:grid;
    grid-template-columns:1fr 2fr;
    gap: 2.5rem;
}

.three-columns{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap: 2.5rem;
}

.three-uneven-columns{
    display:grid;
    grid-template-columns:1.5fr 1fr 1fr;
    gap: 2.5rem;
}

.four-columns{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap: 1.5rem;
}

.twelve-columns {
    display:grid;
    grid-template-columns: repeat(12,1fr);
    gap: 2.5rem;
}

.no-spacing {
    gap:0;
    margin:0;
    padding:0;
}

.twelve-columns header {
    grid-column: 2/11;
}

.twelve-columns .content {
    grid-column:3/11;
    grid-row: 2/2;
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

main .row {
    padding:25px;
}


/* Spacing */

.spacing-200 {
    padding:2rem 0;
}

.spacing-300 {
    padding:3rem 0;
}

.spacing-400 {
    padding:4rem 0;
}

.spacing-500 {
    padding:5rem 0;
}

.spacing-700 {
    padding:7rem 0;
}

.spacing-900 {
    padding:9rem 0;
}

/* Positioning Content */

.v-center-content {
    align-self:center;
}

.h-center-content {
    max-width:520px;
    margin:0 auto;
}

/* Image Grids */

#image-grid-small-big {
    padding:125px 0 0 0;
}

#image-grid-small-big img:first-of-type {
    grid-column:4/7;
}

#image-grid-small-big img:last-of-type {
    grid-column:8/13;
    margin-top:-50px;
}


/* 01 - Header */

#es-header {
    transition:background-color .2s ease-in;
    position: fixed;
    z-index:99;
    top:0;
}

#es-header-inner {
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    align-items: center;
    justify-content:center;
    text-transform: uppercase;
    width:100%;
    max-width:1640px;
    margin:0 auto;
    height:140px;
    transition: all .2s ease-in-out;
}

#es-header, #es-header a {
    color:#fff;
}

.sticky #es-header {
    background:#fff;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.sticky #es-header-inner {
    height:90px;
}

.sticky #es-header, .sticky #es-header a {
color:#191919;
}

#logo {
    text-align:center;
    text-transform:uppercase;
}

#logo h1 {
    margin:0;
    padding:0;
    font-size:46px;
    line-height:13px;
}

#logo span {
    display:block;
    font-size:12px;
    text-transform: uppercase;
}

#es-header nav.es-secondary-nav {
    text-align:right;
    padding-right:25px;
}

#es-header nav li {
    padding:0 15px;
    display:inline-block;
}

#es-header nav li:last-of-type {
    padding-right:0;
}

#es-header nav a {
    display:inline-block;
    text-decoration:none;
    position:relative;
}

#es-header nav li.social-first {
    border-left:1px solid #fff;
    border-right:1px solid #fff;
    line-height: 17px;
    padding:0 15px;
    position: relative;
}

.sticky #es-header nav li.social-first {
    border-color:#e1e1e1;
}

#es-header nav li.social-first a::after {
    display:none;
}

#es-header nav li a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    top: 94%;
    left: 0;
    background: #fff;
    transition: transform 0.2s;
    transform: scaleX(0);
    transform-origin: left;
}

.sticky #es-header nav li a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    top: 94%;
    left: 0;
    background: #000;
    transition: transform 0.2s;
    transform: scaleX(0);
    transform-origin: left;
}

#es-header nav li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

#es-header .es-primary-nav {
    text-align:left;
    margin-left:0;
}

#es-header ul {
    padding-left:0;
}


/* 02 - Banner */

#banner {
    background-size:cover;
    text-align:center;
    color:#fff;
    min-height:850px;
    display:grid;
    overflow: hidden;
}

#banner-content {
    max-width:890px;
    margin:0 auto;
    position:relative;
    z-index:2;
}

#banner h1 {
    position: relative;
}

#banner h1:before {
    content: "";
    height: 1px;
    background: #fff;
    width: 160px;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: -280px;
    margin-right: 10px;
    opacity:0.5;
}


#banner h1:after {
    content: "";
    height: 1px;
    background: #fff;
    width: 160px;
    display: inline-block;
    position: absolute;
    top: 50%;
    right: -280px;
    margin-right: 10px;
    opacity:0.5;
}


#banner h3 {
    font-size: 1.5rem;
    line-height: 2.8rem;
    text-align: center;
    font-weight: 300;
    margin: 10rem auto 2rem auto;
    max-width: 800px;
    grid-column: 3/11;
}

.cta-link {
    grid-column: 1/13;
    align-self: end;
    text-align:right;
}


.fling-minislide {display:block; width:100vw; height:100vh; overflow:hidden; position:absolute; background-color:#000; left:0; top:0; }
.fling-minislide img{ position:absolute; left:0; top:0; animation:fling-minislide 32s infinite, zoom-in 32s infinite; opacity:0;  object-fit:cover; width:100vw; height:100vh;} /**/

@keyframes fling-minislide {28%{opacity:1;} 32%{opacity:0;}}
.fling-minislide img:nth-child(4){animation-delay:0s;}
.fling-minislide img:nth-child(3){animation-delay:8s;}
.fling-minislide img:nth-child(2){animation-delay:16s;}
.fling-minislide img:nth-child(1){animation-delay:24s;}

@keyframes zoom-in{0%{transform:scale(1) translateY(0);transform-origin:50% 84%}100%{transform:scale(1.5) translateY(15px);transform-origin:center}}

.full-width {
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
    position: relative;
    right: 50%;
    width: 100vw;
}


/* Compra */

#compra {
    background:url(images/bg-valencia.jpg) no-repeat right top;
}




/* 04 - Tienda */

#tienda {
    background:url(images/bg-valencia-2.jpg) no-repeat bottom left;
}

/* 04 - Projects */

.portfolio-item a {
    text-decoration:none;
}

.portfolio-item h5, .member h5 {
    font-size:1.4rem;
    font-weight:300;
    margin:15px 0;
    line-height:normal;
}

.portfolio-item h5 span, .member h5 span {
    display:block;
    font-size:1rem;
    color:#727272;
    font-weight:normal;
}

.portfolio-item {
    cursor:pointer;
}

.portfolio-item img {
    -webkit-transition: .5s ease;
    transition: .5s ease;
}

.portfolio-item figure, .member figure {
    overflow:hidden;
}

.portfolio-item:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.project-description {
    padding:35px;
    position:relative;
    max-width:820px;
    margin:0 auto;
}

.project-images {
    max-width:1460px;
    margin:0 auto;
    text-align:center;
}

.project-images img {
    margin-bottom:25px;
}

.project-list {
    padding:25px 0;
}

.project-list li {
    display:inline-block;
    padding-right:35px;
    line-height: 1.4rem;
}

.project-list span {
    text-transform:uppercase;
    display:block;
    font-size:0.8rem;
    color:#727272;
}


blockquote q {
    font-family: 'Cormorant', serif;
    font-size: 2.2rem;
    line-height: 2.4rem;
}

blockquote cite {
    display:block;
}





/* Feedback */

#feedback {
    background:url(images/bg-feedback.jpg) no-repeat;
    background-size:cover;
    color:#fff;
}
.testimonial-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 200px; /* Adjust based on your content */
  }
  

  #feedback a {
    color:#fff;
  }

  /* Contacto */

  #contacto h2 {
   margin:0;
   font-size:2.6rem;
  }

  #contacto ul {
    padding:0;
  }

  .horario {
    text-transform: uppercase;
  }

  .horario li {
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  .horario li:last-of-type {
    border:none;
  }

  .horario span {
    border-right: 1px solid #e1e1e1;
  }
  

  /* Flyout */

  .flyout {
    position:fixed;
    right:15px;
    bottom:15px;
    background: rgb(219,170,96);
    background: linear-gradient(0deg, rgba(219,170,96,1) 0%, rgba(245,197,127,1) 100%);
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #fff;
    width: 60px;
    height: 60px;
    line-height: 64px;
    border-radius: 200em;
    box-shadow: 0 5px 5px rgba(0, 0, 0, .1);
    transition: all .2s ease-in-out;
    text-align: center;
  }

  .flyout a {
    text-decoration:none;
    color:#fff;
  }

.flyout.mail {
    bottom:85px;
}
  

/* Responsive */

@media (max-width:600px) {

    .hide-mobile, #contacto img, #tienda .image-group, .hide-mobile, #feedback .section-title {
        display:none;
    }

   main .row {
            padding:25px;
    }

   .two-columns, .three-columns, .four-columns, .twelve-columns, #services-content, .twelve-columns .content, #contact-content, .three-uneven-columns {
       display:block;
    }

    .full-width {
        left: unset;
        margin-left: unset;
        margin-right: unset;
        max-width: unset;
        position: relative;
        right: unset;
        width: 100vw;
    }

    .spacing-500, .spacing-400, .spacing-900 {
        padding:1rem 0;
    }

    header.spacing-500, header.spacing-200 {
        padding-bottom:0;
    }

    section {
        padding-block: min(10vh, 2rem);
    }


    #image-grid-small-big {
        padding-top:45px;
    }

    .first-image {
        max-width:100%;
    }

    .second-image {
        max-width: 140px;
        position: absolute;
        right: 24px;
        bottom: -30px;
    }

    /* Header */

    #logo {
        margin:0 auto;
    }

    #logo h1 {
        font-size: 31px;
        line-height: 43px;
    }

    #es-header {
        grid-template-columns: 1fr;
        line-height:normal;
        row-gap: 0;
    }

    #es-header-inner {
        height:75px;
        grid-template-columns: 1fr;

    }

    .sticky #es-header-inner {
        height: 75px;
    }

    #es-header .es-primary-nav ul {
        margin-top:0;
        padding-left:0;
        text-align:center;
        font-size:14px;
    }

    #es-header nav.es-secondary-nav {
        text-align:center;
        display:none;
    }

    #es-header nav li {
        padding:0 5px 0 5px;
    }

    #es-header nav li.social-first {
        border-left:1px solid #e1e1e1;
        line-height: 17px;
        padding-left:10px;
    }

    #es-header nav.es-primary-nav {
        order: 3;
        display:block;
      }
      

    /* Typography */

    main #banner h1, h2, blockquote q {
        font-size: 2.2rem;
        line-height: 2.8rem;
    }

    main #banner h1 {
        text-align:center;
    }

    #banner h3 {
        font-size: 1.1rem;
        line-height: 2.2rem;
        margin: 3rem auto 1rem auto;
    }

    blockquote {
        margin:0 auto 5rem auto;
    }

        /* Banner */

        #banner {
            background-size: cover;
            text-align: center;
            color: #fff;
            min-height: 410px;
            display: block;
            overflow:hidden;
        }
    
        #banner-image {
            margin-left:-25px;
            margin-right:-25px;
        }
    
    
    #banner h1 {
        padding:20px;
    }
    
    #banner-content {
        max-width: 890px;
        margin: 20% auto 0 auto;
        position: relative;
        z-index: 2;
    }

    /* Services */

    #servicios ul {
        padding-left:0;
        margin-bottom:20px;
    }

    #servicios li {
        display:inline-block;
        padding-right:10px;
    }

/* Compra */

#compra .three-columns.spacing-300 {
    padding:0;
}

#compra .v-center-content {
    padding-top:50px;
}


/* Tienda */

#tienda {
    background: none;
}

}

@media (min-width:601px) and (max-width:960px) {

    .hide-mobile, #contacto img, #tienda .image-group, .hide-mobile, #feedback .section-title {
        display:none;
    }

   main .row {
            padding:25px;
    }

   .two-columns, .three-columns, .four-columns, .twelve-columns, #services-content, .twelve-columns .content, #contact-content, .three-uneven-columns {
       display:block;
    }

    .h-center-content, .three-columns, .four-columns, .three-uneven-columns {
        max-width: 520px;
        margin: 0 auto;
    }

    .full-width {
        left: unset;
        margin-left: unset;
        margin-right: unset;
        max-width: unset;
        position: relative;
        right: unset;
        width: 100vw;
    }

    .spacing-500, .spacing-400, .spacing-900 {
        padding:1rem 0;
    }

    header.spacing-500, header.spacing-200 {
        padding-bottom:0;
    }

    section {
        padding-block: min(10vh, 2rem);
    }


    #image-grid-small-big {
        padding-top:45px;
    }

    .first-image {
        max-width:100%;
    }

    .second-image {
        max-width: 180px;
        position: absolute;
        right: 24px;
        bottom: -70px;
    }

    /* Header */

    #logo {
        margin:0 auto;
        text-align:left;
    }

    #logo h1 {
        font-size: 31px;
        line-height: 43px;
    }

    #es-header {
        grid-template-columns: 1fr;
        line-height:normal;
        row-gap: 0;
    }

    #es-header-inner {
        height:75px;
        grid-template-columns: 1fr 2fr;

    }

    .sticky #es-header-inner {
        height: 75px;
    }

    #es-header .es-primary-nav ul {
        margin-top:0;
        padding-left:0;
        text-align:right;
        font-size:14px;
    }

    #es-header nav.es-secondary-nav {
        text-align:center;
        display:none;
    }

    #es-header nav li {
        padding:0 5px 0 5px;
    }

    #es-header nav li.social-first {
        border-left:1px solid #e1e1e1;
        line-height: 17px;
        padding-left:10px;
    }

    #es-header nav.es-primary-nav {
        order: 3;
        display:block;
      }
      

    /* Typography */

    main #banner h1 {
        font-size: 3.2rem;
        line-height: 3.6rem;
    }

    main #banner h1 {
        text-align:center;
    }

    #banner h3 {
        font-size: 1.1rem;
        line-height: 2.2rem;
        margin: 3rem auto 1rem auto;
    }

    blockquote {
        margin:0 auto 5rem auto;
    }

        /* Banner */

        #banner {
            background-size: cover;
            text-align: center;
            color: #fff;
            min-height: 410px;
            display: block;
            overflow:hidden;
        }

     
    
        #banner-image {
            margin-left:-25px;
            margin-right:-25px;
        }
    
    
    #banner h1 {
        padding:20px;
    }
    
    #banner-content {
        max-width: 890px;
        margin: 20% auto 0 auto;
        position: relative;
        z-index: 2;

    }

    /* Services */

    #servicios ul {
        padding-left:0;
        margin-bottom:20px;
    }

    #servicios li {
        display:inline-block;
        padding-right:10px;
    }

/* Compra */

#compra .three-columns.spacing-300 {
    padding:0;
}

#compra .v-center-content {
    padding-top:50px;
}


/* Tienda */

#tienda {
    background: none;
}

}


@media (min-width:961px) and (max-width:1360px) {



    #es-header-inner {
        grid-template-columns: 2fr 1fr 2fr;
    }

    #logo h1 {
        font-size: 30px;
        line-height: 13px;
    }

    #es-header nav li {
        padding: 0 5px;
        display: inline-block;
        font-size:14px;
    }

    .full-width {
        left: unset;
        margin-left: unset;
        margin-right: unset;
        max-width: unset;
        position: relative;
        right: unset;
        width: 100%;
    }

    .first-image {
        max-width: 490px;
    }

    .second-image {
        max-width: 170px;
        position: absolute;
        right: 40px;
        bottom: 10px;
    }

    h2 {
        font-family: 'Cormorant', serif;
        font-size: 2.8rem;
        line-height: 3.2rem;
    }

    #banner {

        min-height: 700px;
    }

}
