* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Montserrat;
    color: #fff;
}

.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(86, 69, 63, 0.021);
    padding: 10px 20px;
    z-index: 1000;
    transition: background-color 0.3s ease, position 0.3s ease;
    padding: 20px 50px;
}

.navbar.fixed {
    position: fixed;
    background: #56453F;
    padding: 10px 50px;
}

.navbar .logo img {
    display: none;
    height: 45px;
    transition: opacity 0.3s ease;
}

.navbar.fixed .logo img {
    display: block;
    opacity: 1;
}

.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    text-decoration: none;
    color: #E4C7B8;
    position: relative;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #A47764;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #A47764;
    transition: width 0.3s ease;
}

.menu a:hover::after {
    width: 100%;
    color: #A47764;
}

.icons a {
    font-size: 20px;
    margin-left: 10px;
    color: #E4C7B8;
    transition: color 0.3s ease;
}

.icons a:hover {
    color: #A47764;
}

.toggle-menu {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.toggle-menu i {
    color: black;
}

#slider {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    gap: 10px;
    background: #2B2220;
}

#slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('/data/uploads/ddsslider.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.02;
}

#sliders {
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    gap: 10px;
    background: #2B2220;
}

#sliders::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('/data/uploads/ddsslider.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.02;
}

.sectionOne {
    padding: 50px 0 10px;
    width: 100%;
    min-width: 100%;
    text-align: center;
}

.sectionTwo {
    padding: 70px 0;
    width: 100%;
    text-align: center;
    align-items: center;
}

.sectionOne img {
    width: 5%;
}

.sectionTwo img {
    width: 16%;
}

.p6 {
    color: #A47764;
    padding: 0 10px 10px 10px;
    font-size: 20px;
}

.p7 {
    color: #E4C7B8;
    padding: 60px 300px;
    font-size: 40px;
    text-align: center;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.p8 {
    color: #A47764;
    font-size: 18px;
    text-decoration: none;
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding-bottom: 4px;
    -webkit-tap-highlight-color: transparent;
}

.p8::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: #A47764;
    transform-origin: left center;
    transform: scaleX(1);
    transition: transform .25s ease;
}

.p8:hover::after,
.p8:focus-visible::after { 
  transform: scaleX(0);
}

.p8:focus-visible {
  outline: 2px solid rgba(164,119,100,0.2);
  outline-offset: 4px;
}


.hero {
  padding: 150px 330px;
  color: #A47764;
  text-align: center;
}

.hero h3 {
    font-weight: 800;
    font-size: 72px;
    text-transform: uppercase;
}

.dif {
    margin: 0 0 0 130px;
    margin-bottom: 20px;
}

.divider {
  border: none;
  border-top: 1px solid #2B2220;
  width: 100%;
  margin: 20px auto 40px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px 40px;
  max-width: 900px;
  margin: 0 auto;
  font-size: 20px;
  color: #2B2220;
}

.slider-info {
    display: flex;
    z-index: 3;
}

.infoOne {
    margin: 0;
    padding: 0;
}

.user-image {
    animation: spin 8s linear infinite;
    padding: 0;
    width: 85%;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.infoTwo {
    flex: 1;
    margin-left: -15px;
    padding: 40px 0 0 0;
}

.infoTwo p {
    font-size: 6rem;
  font-weight: 700;
  font-style: normal;
}

.p1 {
    color: #E4C7B8;
    margin-top: -20px;
}

.p2 {
    color: #A47764;
    padding: 0 0 0 4rem;
    margin-top: -20px;
}

.p3 {
    color: #A47764;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.featureOne {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

.factElec {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 20px;
    padding: 20px 140px;
}

.factOne {
    z-index: 220;
}

.onefact {
    padding: 0 0 0 40px;
}

.factOne h4 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #A47764;
}

.factOne p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #E4C7B8;
}

.factOne img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #A47764;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
}

.btn:hover {
    background: #896251;
}

.slider-content {
    font-size: 14px;
    font-family: 300;
    margin-top: 10rem;
    padding: 10px;
}

.slidertext {
    margin: -5rem 0 0 0;
}

.slidertext h4 {
    color: #E4C7B8;
    font-size: 20px;
    font-family: 700;
}

.slider-content i {
    position: absolute;
    display: inline-block;
    animation: bounce 6s infinite ease-in-out;
    font-size: 60px;
    color: #A47764;
    opacity: 0.5;
    z-index: 10;
    margin: -5.5rem 0 0 12rem;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.slidernote h3 {
    min-height: 100px;
    width: 400px;
    color: #E4C7B8;
    padding: 10rem 0 0 0;
    margin: 5rem 0 0 0;
}

.slider-content span {
    font-size: 16px;
    color: #A47764;
    white-space: nowrap;
}

#dynamic-text {
    display: inline-block;
    animation: blink 0.7s step-end infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.slider-ad {
   position: absolute;
    display: inline-block;
}

.slider-ad i {
    display: inline-block;
    animation: partial-rotate 8s infinite ease-in-out;
    font-size: 40px;
    color: #A47764;
    opacity: 0.5;
    z-index: 12;
    margin: 30rem 0 0 -20rem;
}

@keyframes partial-rotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(45deg);
    }
    75% {
        transform: rotate(-45deg);
    }
}


/* PORTAFOLIO */

#contentOne {
    padding: 50px 40px;
    background: #F4F4F4;
}

.portfolio {
    text-align: center;
    padding: 15px 0;
}

.portfolio span {
    font-size: 20px;
    color: #A47764;
    font-weight: bold;
}

.portfolio strong {
    font-size: 28px;
    display: block;
    color: #333;
    padding: 20px 0 5px;
    font-weight: bold;
}

.portfolio p {
    color: #333;
    font-weight: 300;
}

.tabs-container {
    margin-top: 10px;
}

/* Tabs */
.tabs-list {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.tabs-list li {
    margin: 0;
}

.tab-btn {
    padding: 20px 15px;
    color: #56453F;
    background: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.tab-btn:hover {
    color: #A47764;
}

.tab-btn.active {
    background: #A47764;
  color: #fffcfb;
}

/* Projects */
.projects-all {
    max-height: 480px;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none; 
}

.projects-all::-webkit-scrollbar {
    display: none; 
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 10px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.projects-container.show {
    opacity: 1;
    transform: translateY(0);
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: white;
    border-radius: 10px;
}

.project img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.project:hover img {
    transform: scale(1.1);
}

.project:hover .project-hover {
    opacity: 1;
}

.project-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-hover h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.project-hover p {
    font-size: 14px;
    text-align: center;
    max-width: 90%;
}

@media (max-width: 768px) {
    .projects-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
        max-height: 350px;
    }

    .tabs-list {
        flex-wrap: wrap;
        background: white;
        text-align:center;
    }
    
    .tabs-list li {
        min-width: 50%;
    }

    .tab-btn.active,
    .tab-btn:hover {
        width: 100%;
        background-color: #A47764; 
        color: #E4C7B8;
    }
}

#services {
    padding: 20px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 150px;
    align-items: center;
    justify-content: center;
}

.service-item {
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 50px 20px 80px 0;
    border-bottom: 2px solid transparent;
    background-image: linear-gradient(to right, #A47764 20%, transparent 20%, transparent 30%, transparent 30%);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 100% 5px;
}

.service-item h4 {
    font-size: 2em;
    margin-bottom: 2em;
    color: #A47764; 
  font-weight: 700;
}

.service-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.service-img {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgba(228, 199, 184, 0.1);
    min-width: 400px;
    min-height: 400px;
    
  }
  
 .imgdis {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
 }
 
.svgOne {
    position: absolute;
    margin: 300px 0 0 250px;
}

.svgTwo {
    position: absolute;
    margin: 300px 250px 0 0;
}


.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.svg-image {
    width: 60%;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/*SECCION DE CLIENTES*/
.clients {
    background: #2b2220;
    color: #E4C7B8;
}

.brands {
    background-image: url('/data/uploads/ddsslider.webp');
    background-size: cover;
    background-position: center;
    padding: 50px 50px 25px 50px;
    position: relative;
}

.brands::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 10px;
    background: linear-gradient(to bottom, rgba(43, 34, 32, 0.9), rgba(43, 34, 32));
    z-index: 1;
}

.clients-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 30px 0;
    width:100%;
    justify-content: center;
}

.clients-content strong {
    flex: 1;
    font-weight: 600;
    margin: 30px 0;
    font-size: 25px;
    padding: 5px 0px 40px;
}

.clients-content p {
    flex: 1;
    font-size: 18px;
    padding: 5px 360px 40px;
}

.clients-slider {
    position: relative;
    z-index: 2;
}

.swiperClients {
    overflow: hidden;
}

.swiper-slide {
    text-align: center;
}

.swiper-slide img {
    max-width: 70%;
    height: auto;
    opacity: 0.8;
}

.reviews {
    background: #2b2220;
    padding: 25px 100px 40px 100px;
    color: #E4C7B8;
    justify-content: center;
    align-items: center;
}

.reviewswiper .swipercont {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.review-item {
    text-align: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 80px;
    box-sizing: border-box;
    font-size: 18px;
}

.review-author{
    margin: 1em 0 0 0;
    font-weight: 600;
}

.review-text{
    margin: 1em 0 0 0;
    font-weight: 300;
}

.review-text{
    font-weight: 300;
}

.custom-prev, .custom-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    color: #E4C7B8;
    font-size: 24px;
}

.custom-prev {
    left: 10px;
}

.custom-next {
    right: 10px;
}

.swiper-button-prev, .swiper-button-next {
    display: none;
}

/*ESTILOS DEL FOOTER*/
footer {
    background-color: #2B2220;
    color: #E4C7B8;
    padding: 4rem 4rem 1rem 4rem ;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column {
    flex: 2;
    min-width: 250px;
}

.footer-columns {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer-address,
.footer-email,
.footer-phone {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.instagram-feed {
    background: #fff;
    padding: 0.5rem;
    border-radius: 8px;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 1.5rem;
}

.subscribe-form label {
    font-size: 0.9rem;
    padding: 0.9rem 0;
}

.subscribe-form input {
    padding: 0.5rem;
    border: 0.5px solid #ede0da;
    font-size: 0.9rem;
    margin: 0;
    background-color: #eeeeee;
}

.subscribe-form input::placeholder {
    color: #A47764;
}

.subscribe-form input:focus {
    border-color: #A47764;
    outline: none;
    color: #2B2220;
    font-weight: 500;
}


.subscribe-form button {
    padding: 0.9rem;
    background-color: #A47764;
    color: #ede0da;
    border: none;
    border-radius: 1px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
}

.subscribe-form button:hover {
    background-color: #896251;
}

.footer-copyright {
    text-align: center;
    border-top: 1px solid #444;
    font-size: 0.8rem;
    padding-top: 1rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    padding: 20px 0;
}

.social-icons a {
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20%;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.instagram { background: #A47764; }
.instagram:hover { background: #896251; }

.whatsapp { background: #A47764; }
.whatsapp:hover { background: #896251; }

.facebook { background: #A47764; }
.facebook:hover { background: #896251; }

.email { background: #A47764; }
.email:hover { background: #896251; }

.infoFact {
  display: flex;
  color: red;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  background: #f9fafb;
}

.infoFactOne img {
  margin-bottom: 40px;
}

.infosec {
    margin-bottom: 30px;
}

.infosec p {
    font-size: 3rem;
    font-weight: 800;
    color: #A47764;
    line-height: 1;
}

.infopri {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.price {
  background: #ffffff;
  border-radius: 18px;
  padding: 35px 25px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
  text-align: center;
  transition: all 0.3s ease;
}

.price h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #A47764;
}

.price > p:first-of-type {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 18px;
}

.price strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #A47764;
  margin-bottom: 25px;
}

.price strong span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #6b7280;
}

.allbtn {
  margin-bottom: 25px;
}

.allbtn a{
    text-decoration: none;
}

.all-btn {
    background: #E4C7B8;
    color: black;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.all-btn:hover {
  background: #A47764;
  color: white;
}

.price p {
  font-size: 0.9rem;
  color: #374151;
  margin: 8px 0;
}

.price:nth-child(2) {
  border: 2px solid #A47764;
  transform: scale(1.05);
}

.price:nth-child(2) h3 {
  color: #A47764;
}
