/* ============================================
   IBROOM - Deep Cleaning Service Design
   White Background, Clean and Trust-Focused
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --white: #ffffff;
  --surface: #f7fbff;
  --surface-2: #eef6ff;
  --text: #1d2d3a;
  --text-soft: #556777;
  --heading: #153045;
  --primary: #1b76d1;
  --primary-dark: #135ea8;
  --primary-soft: #dcefff;
  --mint: #24b27e;
  --mint-soft: #e4faf1;
  --warning: #f6a723;
  --border: #d8e8f7;
  --shadow: 0 14px 34px rgba(15, 61, 103, 0.1);
  --font-head: 'Outfit', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --transition: 0.24s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.feature-image-wrap {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-image {
  width: 100%;
  height: auto;
}

.service-media {
  margin-bottom: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(15, 61, 103, 0.08);
}

.service-media img {
  width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4.3vw, 3.2rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

h3 {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

p {
  color: var(--text-soft);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 78px 0;
}

.section-sm {
  padding: 52px 0;
}

.centered {
  text-align: center;
}

.section-tag {
  display: inline-block;
  padding: 7px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary-dark);
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  margin-bottom: 10px;
}

.section-subtitle {
  max-width: 680px;
  margin: 0 auto 34px;
  color: var(--text-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 24px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(27, 118, 209, 0.2);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-blue-outline {
  background: var(--white);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-blue-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 0.98rem;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.84rem;
}

.btn-white {
  background: var(--white);
  color: var(--primary-dark);
}

.btn-white:hover {
  background: #f2f8ff;
}

.btn-white-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-white-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--heading);
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--primary), var(--mint));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 9px 18px rgba(26, 115, 200, 0.25);
}

.logo-text {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.logo-ib {
  color: #222b36;
  font-weight: 700;
}
.logo-room {
  color: #2196f3;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  color: var(--text-soft);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--heading);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger {
  display: none;
  border: none;
  background: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--heading);
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 22px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 10px 0;
  border-bottom: 1px dashed #dfebf6;
  color: var(--text-soft);
  font-family: var(--font-head);
  font-weight: 600;
}

.mobile-menu a.active,
.mobile-menu a:hover {
  color: var(--primary);
}

.mobile-menu .btn {
  margin-top: 6px;
  width: 100%;
}

.hero {
  position: relative;
  padding: 88px 0 76px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(245, 251, 255, 0.92)),
    url('../images/hero-bg.png') center/cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-desc {
  margin: 18px 0 30px;
  max-width: 580px;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card-name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading);
}

.hero-card-price {
  color: var(--primary-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-card-btn {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.78rem;
}

.hero-card:hover .hero-card-btn {
  background: var(--primary);
  color: var(--white);
}

.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
}

.trust-item .icon {
  color: var(--mint);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(16, 69, 115, 0.07);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #bcdcf8;
  box-shadow: 0 16px 34px rgba(16, 69, 115, 0.12);
}

.service-card-title {
  color: var(--heading);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
}

.service-card-desc {
  color: var(--text-soft);
  font-size: 0.9rem;
  flex: 1;
}

.service-card-media {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f8fcff;
}

.service-link {
  color: var(--primary);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
}

.service-link:hover {
  color: var(--primary-dark);
}

.page-hero {
  background: linear-gradient(180deg, #f5fbff 0%, #f9fdff 100%);
  border-bottom: 1px solid var(--border);
  padding: 62px 0;
}

.page-hero p {
  max-width: 680px;
  font-size: 1.01rem;
}

.breadcrumb {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6d8398;
  font-size: 0.83rem;
}

.breadcrumb-list li::after {
  content: '>';
  color: #9bb3c8;
}

.breadcrumb-list li:last-child::after {
  display: none;
}

.breadcrumb-list a:hover {
  color: var(--primary);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 36px;
  align-items: start;
}

.service-content h2 {
  margin: 34px 0 12px;
}

.service-content h2:first-child {
  margin-top: 0;
}

.service-content p {
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.include-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.include-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fbfdff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: #304b61;
  font-size: 0.9rem;
}

.include-item .check {
  color: var(--mint);
  font-weight: 800;
}

.service-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.booking-card {
  background: var(--white);
  border: 1px solid #b8d8f3;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.booking-price {
  margin: 6px 0 7px;
  color: var(--primary-dark);
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
}

.booking-price small {
  display: block;
  color: #6e8599;
  font-size: 0.75rem;
  font-weight: 500;
}

.booking-note {
  margin-bottom: 16px;
  font-size: 0.84rem;
}

.booking-card .btn {
  width: 100%;
  margin-bottom: 10px;
}

.related-services h3 {
  margin-bottom: 12px;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.related-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
}

.related-item-name {
  color: #2d4559;
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 600;
}

.related-item-price {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.related-item:hover {
  border-color: #b7d8f4;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--heading);
  font-family: var(--font-head);
  font-size: 0.94rem;
  font-weight: 600;
}

.faq-icon {
  color: var(--primary);
  font-size: 1.18rem;
  transition: transform var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
}

.faq-item.open .faq-answer {
  max-height: 320px;
  padding: 0 20px 18px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.cta-section {
  background: linear-gradient(130deg, #186fcb 0%, #25a478 100%);
  padding: 68px 0;
}

.cta-section h2,
.cta-section p {
  color: var(--white);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.site-footer {
  margin-top: 0;
  background: #f4f9ff;
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 34px;
}

.footer-about {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #60778c;
}

.footer-col-title {
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  color: #60778c;
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}

.footer-bottom p {
  color: #6f8599;
  font-size: 0.82rem;
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(23, 94, 163, 0.3);
  display: none;
  z-index: 999;
}

.scroll-top.visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.scroll-top:hover {
  background: var(--primary-dark);
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 58px 0;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 62px 0 54px;
  }

  .hero-visual {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}
