/* ============================================================
   MKE CLEANING SERVICES — style.css
   ============================================================ */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue-dark:    #0C4687;
  --blue-mid:     #1565C0;
  --blue-bright:  #1E88E5;
  --blue-btn:     #008BD2;
  --blue-light:   #E3EDF8;
  --blue-slate:   #5B7FA6;
  --blue-navy:    #1A2E50;
  --cyan:         #4FC3F7;
  --cyan-section: #7ED6E8;
  --white:        #FFFFFF;
  --gray-bg:      #F5F7FA;
  --gray-text:    #555F6E;
  --gray-light:   #576779;
  --faq-dark:     #0C4687;
  --faq-open-bg:  #F2F2F2;
  --radius-sm:    12px;
  --radius-md:    18px;
  --radius-lg:    24px;
  --shadow:       0 4px 24px rgba(29,52,97,.12);
  --transition:   .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; color: var(--blue-dark); background: var(--white); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 80px; }

.section-title { font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 600; color: var(--blue-dark); text-align: center; }

.btn {
  display: inline-block; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 25px;
  border-radius: 40px; padding: 8px 28px; cursor: pointer; border: none;
  transition: opacity var(--transition), transform var(--transition); letter-spacing: .3px;
}
.btn:hover { opacity: .88; transform: translateY(-2px); }
.btn--dark  { background: var(--blue-navy); color: var(--white); }
.btn--blue  { background: var(--blue-btn);  color: var(--white); }
.btn--talk  { background: var(--blue-btn);  color: var(--white); }

/* NAVBAR */
#navbar { position: sticky; top: 0; z-index: 999; background: #D9EAF2; box-shadow: 0 2px 12px rgba(29,52,97,.08); height: 96px; display: flex; align-items: center; }
.nav-inner { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 80px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 0; }
.nav-logo img { height: 64px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav-links a { font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 400; color: var(--blue-dark); transition: color var(--transition); }
.nav-links a:hover { color: var(--blue-bright); }
.nav-links .btn-nav { background: var(--blue-bright); color: var(--white); padding: 8px 32px; border-radius: 30px; font-weight: 400; font-size: 25px; }
.nav-links .btn-nav:hover { background: var(--blue-mid); opacity: 1; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-hamburger span { display: block; width: 26px; height: 2px; background: var(--blue-dark); border-radius: 2px; transition: var(--transition); }

/* HERO */
#hero { position: relative; width: 100%; height: 689px; overflow: hidden; background: #f0f4f8; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: 0; }
.hero-content { position: relative; z-index: 2; padding: 0 0 0 80px; width: 100%; max-width: 1440px; margin: 0 auto; }
.hero-content h1 { font-family: 'Inter', sans-serif; font-size: clamp(48px, 5.9vw, 85px); line-height: 0.92; text-transform: uppercase; letter-spacing: 0; margin-bottom: 22px; }
.hero-content h1 .word-cleaning { display: block; font-weight: 600; color: #2196F3; }
.hero-content h1 .word-services { display: block; font-weight: 400; color: #1D3461; }
.hero-content p { font-family: 'Inter', sans-serif; font-size: 23px; color: var(--gray-text); line-height: 28px; margin-bottom: 36px; font-weight: 400; }
.btn--hero { background: #2C3E50; color: var(--white); border-radius: 30px; padding: 10px 22px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 25px; letter-spacing: .3px; }
.brMobile{display: none; }

/* ABOUT */
#about { padding: 80px 0 70px; }
#about .container { max-width: 1180px; margin: 0 auto; padding: 0 80px; }
#about .about-text { font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 400; line-height: 1.85; color: #444f5a; text-align: justify; margin-bottom: 52px; }
#about .about-text strong { color: var(--blue-dark); font-weight: 600; }
.accordion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.accordion-item { border-radius: 22px; overflow: hidden; background: #BDD3DE; }
.accordion-item.is-open { background: #E4F4FD; }
.accordion-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 25px; cursor: pointer; user-select: none; }
.accordion-item.is-open .accordion-header { padding: 20px 25px 20px; }
.accordion-header h3 { font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 600; color: #4A6480; }
.accordion-icon { font-size: 28px; font-weight: 300; color: #2196F3; line-height: 1; flex-shrink: 0; font-family: 'Inter', sans-serif; width: auto; height: auto; border: none; border-radius: 0; background: none; display: flex; align-items: center; justify-content: center; }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.accordion-item.is-open .accordion-body { max-height: 400px; }
.accordion-body p { padding: 0 25px 28px; font-family: 'Inter', sans-serif; font-size: 20px; color: #4A6480; line-height: 30px; text-align: justify; }

/* SERVICES */
#services { padding: 70px 0; text-align: center; }
#services .container { max-width: 1540px; margin: 0 auto; padding: 0 80px; }
#services .section-title { margin-bottom: 48px; }
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); column-gap: 14px; row-gap: 18px; margin-bottom: 110px; margin-top: 120px; align-items: start; }
.srv-card { position: relative; border-radius: 39px; overflow: hidden; cursor: pointer; height: 310px; transition: transform .3s ease; }
.srv-card:nth-child(2), .srv-card:nth-child(4), .srv-card:nth-child(7), .srv-card:nth-child(9) { transform: translateY(-49px); }
.srv-card:nth-child(2):hover, .srv-card:nth-child(4):hover, .srv-card:nth-child(7):hover, .srv-card:nth-child(9):hover { transform: translateY(-49px) scale(1.03); }
.srv-card:hover { transform: scale(1.03); }
.srv-card img.srv-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.srv-card-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(12, 70, 135, 0.50); z-index: 1; }
.srv-card-label { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 16px; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 30px; color: var(--white); line-height: 31px; text-align: center; z-index: 2; }
#services .btn--dark { background: #294452; }

/* WHY MKE */
#why { background: linear-gradient(180deg, #0F4E96 75%, #F4F4F4 40%); padding: 60px 0; }
#why .section-title { color: #009FE3; margin-bottom: 16px; }
.why-subtitle { font-size: 23px; color: #fff; text-align: center; margin-bottom: 56px; line-height: 32px; }
.why-grid { display: grid; grid-template-columns: 0.8fr 1fr; gap: 56px; align-items: flex-start; }
.why-photo { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.why-right { display: flex; flex-direction: column; align-items: flex-start; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 60px; margin-bottom: 85px; margin-left: 50px; width: 100%; }
.why-list li { display: flex; align-items: center; gap: 16px; font-size: 21px; color: var(--white); line-height: 1.4; font-weight: 400; }
.why-icon { width: 30px; height: 30px; min-width: 30px; flex-shrink: 0; object-fit: contain; display: block; }
.why-cta { text-align: left; }

/* TRUSTED BY */
#trusted { padding: 56px 0 120px; background: #F4F4F4; text-align: center; overflow: hidden; }
#trusted h2 { font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 600; color: var(--blue-dark); margin-bottom: 8px; }
#trusted p { font-size: 22px; color: var(--gray-light); margin-bottom: 60px; }
.logos-track-wrap { overflow: hidden; position: relative; }
.logos-track { display: flex; align-items: center; gap: 0; width: max-content; animation: scroll-logos 22s linear infinite; }
.logos-track img { height: 44px; object-fit: contain; padding: 0 32px; }
@keyframes scroll-logos { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* GALLERY */
#gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 0px 10px; }
#gallery img { width: 100%; aspect-ratio: 550/496; object-fit: cover; transition: brightness .3s; }
#gallery img:hover { brightness: 1.1; }

/* TESTIMONIALS — con carousel */
#testimonials { padding: 80px 0; background: #F4F4F4; }
#testimonials .container { max-width: 1360px; }
.testimonials-headline { font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 500; color: var(--blue-dark); text-align: center; line-height: 51px; margin-bottom: 90px; }
.testimonials-headline strong { display: block; font-weight: 700; font-size: 50px; }
.testimonials-grid { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; }
.testimonials-label { padding-top: 10px; }
.quote-mark { width: 110px; margin-bottom: 20px; }
.testimonials-label h3 { font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 500; color: var(--blue-dark); line-height: 39px; }
.testimonials-carousel { position: relative; overflow: hidden; width: 100%; }
.testimonials-track { display: flex; transition: transform .5s ease; will-change: transform; }
.testimonials-track .review-card { flex: 0 0 calc(50% - 12px); margin-right: 24px; box-sizing: border-box; }
.review-card { background: var(--white); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow); border: 1px solid #E5EEF7; display: flex; flex-direction: column; }
.review-card .reviewer-name { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 30px; color: var(--blue-dark); margin-bottom: 10px; }
.review-card p { font-size: 16px; color: var(--gray-text); line-height: 24px; margin-bottom: 16px; flex: 1; }
.stars { width: 100px; }
.stars img { width: 100%; }
.testimonials-dots { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.testimonials-dots button { width: 12px; height: 12px; border-radius: 50%; border: none; background: #C3D3E3; cursor: pointer; padding: 0; transition: background .25s ease, width .25s ease; }
.testimonials-dots button.active { background: #008BD2; width: 30px; border-radius: 6px; }
.testimonials-cta {text-align: center; margin-top: 60px;}

/* FAQ */
#faq { padding: 80px 0; background: var(--gray-bg); }
#faq .container { max-width: 1400px; margin: 0 auto; padding: 0 80px; }
.faq-title-group { text-align: center; margin-bottom: 48px; }
.faq-title-group .line1 { font-family: 'Inter', sans-serif; font-size: 48px; font-weight: 400; color: #008BD2; line-height: 1.15; }
.faq-title-group .line2 { font-family: 'Inter', sans-serif; font-size: 48px; font-weight: 700; color: #008BD2; line-height: 1.15; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 56px; align-items: start; }
.faq-col { display: flex; flex-direction: column; gap: 16px; }
.faq-item { border-radius: var(--radius-md); overflow: hidden; cursor: pointer; }
.faq-item.faq-open { background: var(--faq-open-bg); }
.faq-item.faq-closed { background: var(--faq-dark); }
.faq-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; user-select: none; }
.faq-header span { font-family: 'Inter', sans-serif; font-size: 24px; font-weight: 500; line-height: 27px; max-width: 92%; padding-right: 16px; }
.faq-item.faq-open .faq-header span { color: var(--blue-dark); }
.faq-item.faq-closed .faq-header span { color: var(--white); }
.faq-icon { font-size: 28px; font-weight: 300; line-height: 1; flex-shrink: 0; width: auto; height: auto; border: none; border-radius: 0; background: none; font-family: 'Inter', sans-serif; }
.faq-item.faq-open .faq-icon { color: #009FE3 !important; }
.faq-item.faq-closed .faq-icon { color: #009FE3 !important; }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.faq-open .faq-body { max-height: 300px; }
.faq-body p { padding: 0 28px 40px; font-size: 16px; color: var(--gray-text); line-height: 1.6; }
.faq-cta { text-align: center; }

/* FOLLOW US */
#follow { position: relative; overflow: hidden; min-height: 260px; display: flex; align-items: center; }
.follow-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; z-index: 0; }
.follow-bg-mobile { display: none; }
.follow-content { position: relative; z-index: 2; text-align: center; width: 100%; padding: 60px 20px; }
.follow-content h2 { font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 400; color: var(--blue-dark); line-height: 43px; }
.follow-content .follow-cta { font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 600; color: #008BD2; margin-bottom: 16px; line-height: 43px; margin-top: 9px; }
.follow-handle { font-size: 20px; color: #294452; font-weight: 500; margin-top: 35px; margin-bottom: 15px; }
.follow-ig { display: inline-block; transition: transform var(--transition); }
.follow-ig:hover { transform: scale(1.12); }
.follow-ig img { width: 40px; height: 40px; display: inline-block; }

/* CONTACT / FOOTER */
#contact { position: relative; }
.contact-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.contact-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 300px; align-items: start; justify-items: end; padding: 60px 60px 60px; max-width: 1380px; margin: 0 auto; }
.contact-info h2 { font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 500; color: var(--white); margin-bottom: 12px; }
.contact-info .contact-desc { font-size: 16px; color: rgba(255, 255, 255, .7); line-height: 22px; margin-bottom: 80px; }
.contact-detail { display: flex; align-items: flex-start; gap: 10px; color: var(--white); font-size: 22px; font-weight: 400; margin-bottom: 25px; line-height: 22px; }
.contact-detail svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; stroke: var(--cyan); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-form-wrap { background: var(--white); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: 0 12px 48px rgba(0, 0, 0, .22); margin-top: -100px; max-width: 550px; }
.contact-form-wrap h3 { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 25px; color: var(--blue-dark); text-align: center; margin-bottom: 24px; }
.form-field { display: block; width: 100%; border: none; padding: 12px 20px; font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 400; color: var(--blue-dark); margin-bottom: 8px; outline: none; background: #F4F4F4; transition: border-color var(--transition); }
.form-field:focus { border-color: var(--blue-bright); }
.form-field::placeholder { color: var(--gray-light); }
textarea.form-field { resize: none; height: 76px; }
.form-msg { display: none; font-size: 13px; padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; text-align: center; }
.form-msg.success { background: #e6f4ea; color: #2e7d32; display: block; }
.form-msg.error { background: #fdecea; color: #c62828; display: block; }
#footer-bar { background: var(--blue-navy); text-align: center; padding: 18px 20px; font-size: 12px; color: rgba(255,255,255,.45); font-family: 'Inter', sans-serif; }

/* WHATSAPP FAB */
.whatsapp-fab { position: fixed; bottom: 28px; right: 28px; z-index: 9999; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform var(--transition); }
.whatsapp-fab:hover { transform: scale(1.1); }
.whatsapp-fab img { width: 58px; height: 58px; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .container, .nav-inner { padding: 0 40px; }
  .hero-content { padding-left: 40px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .srv-card { height: 260px !important; transform: none !important; }
  .srv-card:hover { transform: scale(1.03) !important; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 30px; }
  .testimonials-label { display: block; text-align: center; }
  .testimonials-label .quote-mark { margin: 0 auto 20px; }
  .testimonials-track .review-card { flex: 0 0 100%; margin-right: 24px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  #navbar { height: 72px; }
  .nav-links.nav-open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: #D9EAF2; padding: 20px 32px 28px; box-shadow: 0 8px 24px rgba(0,0,0,.12); gap: 20px; z-index: 998; }

  /* HERO mobile con banner dedicado */
  #hero { height: auto; min-height: 480px; }
  .hero-bg { content: url('../img/banner-mobile-mke.png'); object-position: center center; }
  .hero-content { padding: 60px 32px; }
  .hero-content h1 { font-size: clamp(40px, 8vw, 64px); }
  .hero-content p br {display: none;}
  .hero-content .brMobile{display: block; }

  .accordion-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .srv-card { height: 240px !important; transform: none !important; }
  .srv-card:hover { transform: scale(1.03) !important; }
  #gallery { grid-template-columns: repeat(3, 1fr); }

  /* ── WHY MKE mobile: foto al final, cruzando el corte del degradado ── */
  #why {
    background: linear-gradient(180deg, #0F4E96 80%, #F4F4F4 70%);
    padding: 60px 0 0;
  }
  .why-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
  }
  .why-right {
    order: 1;          /* lista + botón primero */
    align-items: center;
  }
  .why-photo {
    order: 2;          /* foto al final */
    max-width: 100%;
    margin: 40px 0px;
    border-radius: 0;  /* sin redondeo para que se vea recortada cruzando el corte */
    display: block;
  }

  .why-cta { text-align: center; }
  .contact-inner { grid-template-columns: 1fr; padding: 50px 32px; }
  .faq-grid { grid-template-columns: 1fr; gap: 16px; }

  /* FOLLOW US mobile con imagen dedicada */
  .follow-bg-desktop { display: none; }
  .follow-bg-mobile { display: block; }

  #about { padding: 40px 0px; }
  .hero-bg { object-position: center center; }
  #about .container { padding: 0 20px; }
  #about .about-text { text-align: left; font-size: 18px; line-height: 26px; }
  .accordion-header h3 { font-size: 30px; }
  .accordion-body p { font-size: 16px; line-height: 24px; text-align: left; }
  #services .container { padding: 0 20px; }
  .services-grid { margin-bottom: 80px; margin-top: 40px; }
  .srv-card-label { font-size: 20px; line-height: 22px; }
  .why-subtitle { font-size: 18px; line-height: 25px; }
  .why-list { margin-top: 0px; margin-bottom: 40px; margin-left: 0px; }
  .why-list li { font-size: 18px; }
  #trusted p { font-size: 18px; margin: 0px 20px 60px; }
  #faq .container { padding: 0 20px; }
  .contact-form-wrap { box-shadow: none; margin-top: 0px; max-width: 100%; }
  .contact-inner { grid-template-columns: 1fr; padding: 50px 20px; max-width: 100%; gap: 40px; align-items: start; justify-items: center; }
  .contact-info .contact-desc { font-size: 16px; color: rgba(255, 255, 255, .7); line-height: 22px; margin-bottom: 30px; }
  .contact-info .contact-desc br { display: none; }
  .contact-detail { font-size: 17px; margin-bottom: 8px; }
  .contact-form-wrap h3 { font-size: 25px; }
  .faq-header span { font-size: 20px; }
  .testimonials-headline { font-size: 30px; line-height: 38px; margin-bottom: 50px; }
  .testimonials-headline strong { font-size: 36px; }
  .btn--hero {border: solid 3px;}
  .hero-content p {font-size: 18px; max-width: 315px; line-height: 23px;}
  .btn--hero {font-size: 22px;}
  .follow-bg {object-position: bottom center;}
  .follow-content {padding: 84px 20px 140px 20px;}
  .nav-logo img {height: 38px;}
  .testimonials-cta a {font-size: 20px !important;}
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .srv-card { height: 200px !important; transform: none !important; }
  #gallery { grid-template-columns: repeat(1, 1fr); }
  .hero-content h1 { font-size: 38px; line-height: 43px; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
}