/* Homepage-only styles — does not affect login / app / admin */

.page-home {
  --lp-navy: #0a1628;
  --lp-navy-mid: #0f2744;
  --lp-ocean: #1a6fd4;
  --lp-teal: #0d9488;
  --lp-surface: #ffffff;
  --lp-muted: #64748b;
  --lp-border: rgba(15, 23, 42, 0.08);
  --lp-radius: 20px;
  --lp-shadow: 0 20px 50px rgba(10, 22, 40, 0.12);
  --content-max: 1140px;
  --page-pad: clamp(2rem, 8vw, 5rem);
}

/* Centered content column with generous side gutters */
.page-home .container,
.page-home .header-inner {
  width: min(100%, calc(var(--content-max) + 2 * var(--page-pad)));
  max-width: 100%;
  margin-inline: auto;
  padding-inline: var(--page-pad);
  box-sizing: border-box;
}

.page-home .site-header {
  padding-inline: 0;
}

.page-home .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  height: 100%;
  flex-wrap: nowrap;
}

@media (min-width: 768px) {
  .page-home .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
  }

  .page-home .header-inner .nav {
    justify-self: center;
  }

  .page-home .header-inner .nav-auth {
    justify-self: end;
  }
}

/* —— Header —— */
.page-home .site-header {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.page-home .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--lp-border);
  box-shadow: 0 4px 24px rgba(10, 22, 40, 0.06);
}

.page-home .site-header:not(.is-scrolled) .logo,
.page-home .site-header:not(.is-scrolled) .logo-text,
.page-home .site-header:not(.is-scrolled) .nav a {
  color: #fff;
}

.page-home .site-header:not(.is-scrolled) .logo-mark,
.page-home .site-header:not(.is-scrolled) .h2o-brand {
  color: #fff;
}

.page-home .site-header:not(.is-scrolled) .h2o-sub {
  color: rgba(255, 255, 255, 0.9);
}

.page-home .nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  z-index: 110;
}

.page-home .site-header.is-scrolled .nav-toggle {
  background: var(--bg);
}

.page-home .nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.page-home .site-header.is-scrolled .nav-toggle span {
  background: var(--text);
}

.page-home .nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.page-home .nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.page-home .nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
  .page-home .nav-toggle {
    display: none;
  }
}

@media (max-width: 767px) {
  .page-home .nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: var(--page-pad);
    right: var(--page-pad);
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--lp-border);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 12px 32px rgba(10, 22, 40, 0.1);
  }

  .page-home .nav.is-open {
    display: flex;
  }

  .page-home .nav a {
    color: var(--text) !important;
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--lp-border);
    font-size: 1rem;
  }

  .page-home .nav a:last-child {
    border-bottom: none;
  }

  .page-home .header-inner .nav-auth {
    margin-left: auto;
  }
}

.page-home .nav-auth {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.page-home .nav-auth a {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: inherit;
}

.page-home .site-header:not(.is-scrolled) .nav-auth a {
  color: #fff;
}

.page-home .site-header.is-scrolled .nav-auth a {
  color: var(--text);
}

.page-home .nav-auth .btn-link {
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  color: inherit;
  padding: 0;
}

.page-home .nav-user {
  font-size: 0.85rem;
  opacity: 0.85;
  display: none;
}

@media (min-width: 900px) {
  .page-home .nav-user {
    display: inline;
  }
}

/* —— Hero —— */
.page-home .hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
}

.page-home .hero-overlay {
  display: none;
}

.page-home .hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.55) 0%, rgba(10, 22, 40, 0.2) 40%, rgba(10, 22, 40, 0.75) 100%),
    linear-gradient(90deg, rgba(10, 22, 40, 0.7) 0%, transparent 55%);
}

.page-home .hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 2rem;
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: 5rem;
  align-items: end;
}

@media (min-width: 900px) {
  .page-home .hero-inner {
    grid-template-columns: 1fr;
    padding-bottom: 4.5rem;
  }

  .page-home .hero-stats {
    max-width: 520px;
  }
}

.page-home .hero-badge {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.95);
}

.page-home .hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0 0 1rem;
}

.page-home .h2o-brand-hero-lg {
  font-size: clamp(3rem, 10vw, 5rem);
  color: #fff;
  line-height: 1;
}

.page-home .h2o-brand-hero-lg .h2o-h,
.page-home .h2o-brand-hero-lg .h2o-o {
  color: #fff;
}

.page-home .h2o-brand-hero-lg .h2o-sub {
  color: rgba(255, 255, 255, 0.92);
}

.page-home .hero-tagline {
  font-family: Outfit, sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02em;
}

.page-home .hero-content {
  min-height: 0;
  padding: 0;
  max-width: none;
}

.page-home .hero-copy {
  max-width: 36rem;
  color: #fff;
}

.page-home .hero-lead {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.75rem;
  max-width: 32rem;
}

.page-home .hero-actions {
  margin-bottom: 1.25rem;
}

.page-home .btn-lg {
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
  border-radius: 12px;
}

.page-home .hero-caption {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  padding-left: 0.15rem;
}

.page-home .hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-home .hero-stat {
  flex: 1 1 100px;
  min-width: 100px;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.page-home .hero-stat strong {
  display: block;
  font-family: Outfit, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.page-home .hero-stat span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
}

.page-home .carousel-dots {
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.5rem;
  right: auto;
}

.page-home .carousel-dots button {
  width: 32px;
  height: 4px;
  border-radius: 4px;
}

.page-home .carousel-dots button.active {
  background: #fff;
  transform: none;
}

/* —— Trust strip —— */
.page-home .trust-strip {
  padding: 0;
  margin-top: -2rem;
  position: relative;
  z-index: 5;
}

.page-home .trust-grid {
  display: grid;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: var(--lp-surface);
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
  border: 1px solid var(--lp-border);
}

@media (min-width: 768px) {
  .page-home .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 1.5rem 2rem;
  }
}

.page-home .trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.page-home .trust-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(26, 111, 212, 0.12), rgba(13, 148, 136, 0.12));
  color: var(--lp-ocean);
}

.page-home .trust-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
  color: var(--text);
}

.page-home .trust-item span {
  font-size: 0.85rem;
  color: var(--lp-muted);
  line-height: 1.4;
}

/* —— Sections shared —— */
.page-home section {
  padding: 5rem 0;
}

.page-home .section-head {
  max-width: 34rem;
  margin-bottom: 2.5rem;
}

.page-home .section-head-center {
  max-width: none;
  text-align: center;
  margin-inline: auto;
}

.page-home .section-head-center .section-sub {
  margin-inline: auto;
}

.page-home .section-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--lp-ocean);
}

.page-home .section-title {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.page-home .section-sub {
  margin-bottom: 0;
  line-height: 1.6;
}

/* —— Services —— */
.page-home .services {
  background: var(--bg);
}

.page-home .service-grid {
  gap: 1.5rem;
}

.page-home .service-card {
  position: relative;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  border-top: none;
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.04);
  overflow: hidden;
}

.page-home .service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lp-ocean), var(--lp-teal));
}

.page-home .service-carpet::before {
  background: linear-gradient(90deg, var(--lp-teal), #14b8a6);
}

.page-home .service-dine::before {
  background: linear-gradient(90deg, #b45309, #d97706);
}

.page-home .service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--lp-shadow);
}

.page-home .service-num {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: Outfit, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(15, 23, 42, 0.06);
}

.page-home .service-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(26, 111, 212, 0.1), rgba(13, 148, 136, 0.08));
  color: var(--lp-ocean);
}

.page-home .service-carpet .service-icon-wrap {
  color: var(--lp-teal);
}

.page-home .service-dine .service-icon-wrap {
  color: #b45309;
  background: linear-gradient(135deg, rgba(180, 83, 9, 0.1), rgba(217, 119, 6, 0.08));
}

.page-home .service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.page-home .service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.page-home .service-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--lp-ocean);
  text-decoration: none;
}

.page-home .service-link:hover {
  text-decoration: underline;
}

/* —— About —— */
.page-home .about {
  background: var(--lp-surface);
}

.page-home .about-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .page-home .about-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.page-home .about-visual {
  position: relative;
  border-radius: var(--lp-radius);
  overflow: hidden;
  box-shadow: var(--lp-shadow);
}

.page-home .about-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.page-home .about-visual-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.15);
}

.page-home .about-content .section-title {
  margin-top: 0;
}

.page-home .about-content p {
  color: var(--lp-muted);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.page-home .about-features {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.page-home .about-features li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.75rem;
  color: var(--text);
  font-weight: 500;
}

.page-home .about-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lp-ocean), var(--lp-teal));
}

/* —— CTA band —— */
.page-home .cta-band {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--lp-navy-mid) 0%, var(--lp-ocean) 50%, var(--lp-teal) 100%);
  color: #fff;
}

.page-home .cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .page-home .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

.page-home .cta-inner h2 {
  font-family: Outfit, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}

.page-home .cta-inner p {
  margin: 0;
  opacity: 0.9;
  max-width: 28rem;
}

.page-home .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

.page-home .btn-light {
  background: #fff;
  color: var(--lp-navy-mid);
  border-color: #fff;
}

.page-home .btn-light:hover {
  background: #f1f5f9;
}

.page-home .btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.page-home .btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* —— Contact —— */
.page-home .contact {
  background: var(--bg);
  padding-bottom: 5rem;
}

.page-home .contact-cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .page-home .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.page-home .contact-card {
  padding: 1.75rem;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  transition: box-shadow 0.2s, transform 0.2s;
}

.page-home .contact-card:hover {
  box-shadow: var(--lp-shadow);
  transform: translateY(-3px);
}

.page-home .contact-icon {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(26, 111, 212, 0.1), rgba(13, 148, 136, 0.08));
  color: var(--lp-ocean);
}

.page-home .contact-card strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lp-muted);
  margin-bottom: 0.35rem;
}

.page-home .contact-card a,
.page-home .contact-card span {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.page-home .contact-card a:hover {
  color: var(--lp-ocean);
}

.page-home .contact-box {
  display: none;
}

/* —— Footer —— */
.page-home .site-footer {
  padding: 0;
  background: var(--lp-navy);
}

.page-home .footer-grid {
  display: grid;
  gap: 2rem;
  padding: 3rem 0 2rem;
}

@media (min-width: 640px) {
  .page-home .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.page-home .h2o-brand-light,
.page-home .h2o-brand-light .h2o-h,
.page-home .h2o-brand-light .h2o-o {
  color: #fff;
}

.page-home .h2o-brand-light .h2o-sub {
  color: rgba(255, 255, 255, 0.85);
}

.page-home .footer-brand p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 22rem;
  line-height: 1.5;
}

.page-home .footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.page-home .footer-links strong {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.35rem;
}

.page-home .footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.page-home .footer-links a:hover {
  color: #fff;
}

.page-home .footer-bottom {
  padding: 1.25rem 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-home .footer-bottom p {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.page-home .footer-inner {
  display: none;
}
