/* ==========================================================================
   HouseKeep — Design System & Layout (Phase 1)
   ========================================================================== */

:root {
  --hk-teal-950: #042f2e;
  --hk-teal-900: #134e4a;
  --hk-teal-800: #115e59;
  --hk-teal-700: #0f766e;
  --hk-teal-600: #0d9488;
  --hk-teal-500: #14b8a6;
  --hk-teal-100: #ccfbf1;
  --hk-teal-50: #f0fdfa;

  --hk-ink: #0b1220;
  --hk-ink-soft: #334155;
  --hk-muted: #64748b;
  --hk-line: #d7e3e0;
  --hk-surface: #f7fbfa;
  --hk-white: #ffffff;

  --hk-accent: #c4a35a;
  --hk-accent-soft: #f5edd8;

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-soft: 0 12px 40px rgba(15, 118, 110, 0.10);
  --shadow-lift: 0 18px 50px rgba(11, 18, 32, 0.12);

  --header-h: 76px;
  --container: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--hk-ink-soft);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(20, 184, 166, 0.12), transparent 60%),
    radial-gradient(900px 400px at 100% 0%, rgba(196, 163, 90, 0.10), transparent 55%),
    var(--hk-surface);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--hk-teal-700);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--hk-teal-900);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--hk-ink);
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--hk-teal-900);
  color: var(--hk-white);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  border-radius: 999px;
  padding: 0.95rem 1.45rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.7rem 1.1rem;
  font-size: 0.85rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--hk-teal-600), var(--hk-teal-800));
  color: var(--hk-white);
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.28);
}

.btn-primary:hover {
  color: var(--hk-white);
  box-shadow: 0 14px 30px rgba(13, 148, 136, 0.38);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--hk-white);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--hk-white);
}

.btn-outline {
  background: transparent;
  color: var(--hk-teal-800);
  border-color: rgba(15, 118, 110, 0.35);
}

.btn-outline:hover {
  background: var(--hk-teal-50);
  color: var(--hk-teal-900);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 251, 250, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--hk-line);
  box-shadow: 0 8px 24px rgba(11, 18, 32, 0.06);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--hk-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.brand:hover {
  color: var(--hk-ink);
}

.brand-logo {
  display: block;
  height: 62px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-list a {
  display: inline-block;
  padding: 0.55rem 0.8rem;
  color: var(--hk-ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--hk-teal-800);
  background: rgba(15, 118, 110, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hk-line);
  border-radius: 12px;
  background: var(--hk-white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  background: var(--hk-ink);
  transition: transform 0.25s var(--ease);
}

/* Hero — stylish housekeeping photo slider */
.hero {
  position: relative;
  min-height: clamp(460px, 68vh, 640px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--hk-white);
  background: #0b3d3a;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s var(--ease);
  pointer-events: none;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.08);
  transition: transform 5.2s ease-out;
  will-change: transform;
}

.hero-slide.is-active .hero-slide-img {
  transform: scale(1);
}

.hero-slide-caption {
  position: absolute;
  top: 1.25rem;
  right: clamp(1rem, 4vw, 2.2rem);
  z-index: 2;
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(4, 47, 46, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.55s var(--ease) 0.2s, transform 0.55s var(--ease) 0.2s;
}

.hero-slide.is-active .hero-slide-caption {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.hero-slide-text {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at center, rgba(4, 47, 46, 0.28) 0%, rgba(4, 47, 46, 0.55) 55%, rgba(4, 47, 46, 0.72) 100%),
    linear-gradient(180deg, rgba(4, 47, 46, 0.35) 0%, rgba(4, 47, 46, 0.45) 45%, rgba(4, 47, 46, 0.65) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(100% - 2rem, 640px);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) 1rem;
  max-width: 640px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0 0 0.75rem;
  color: var(--hk-white);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(24px);
  animation: rise-in 0.9s var(--ease) 0.1s forwards;
}

.hero-title {
  font-size: clamp(1.2rem, 2.8vw, 1.75rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.96);
  margin: 0 0 0.75rem;
  max-width: 22ch;
  opacity: 0;
  transform: translateY(24px);
  animation: rise-in 0.9s var(--ease) 0.25s forwards;
}

.hero-copy {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 42ch;
  margin: 0 0 1.45rem;
  opacity: 0;
  transform: translateY(24px);
  animation: rise-in 0.9s var(--ease) 0.4s forwards;
}

.hero .btn-group {
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(24px);
  animation: rise-in 0.9s var(--ease) 0.55s forwards;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  right: clamp(1rem, 4vw, 2.5rem);
  bottom: 1.25rem;
  display: flex;
  gap: 0.45rem;
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  background: rgba(4, 47, 46, 0.4);
  backdrop-filter: blur(8px);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: width 0.35s var(--ease), background 0.35s var(--ease);
}

.hero-dot.is-active {
  width: 28px;
  background: #fff;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: clamp(2.25rem, 4.5vw, 3.75rem) 0;
}

/* Reduce stacked gap between consecutive sections */
.section + .section {
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
}

.section-head {
  max-width: 620px;
  margin-bottom: 1.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hk-teal-700);
  margin-bottom: 0.7rem;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.45rem);
  margin-bottom: 0.55rem;
}

.section-lead {
  color: var(--hk-muted);
  margin: 0;
  font-size: 1.08rem;
}

.section-muted {
  background: linear-gradient(180deg, rgba(204, 251, 241, 0.35), transparent 70%);
}

.section-dark {
  background: linear-gradient(145deg, var(--hk-teal-950), var(--hk-teal-800));
  color: rgba(255, 255, 255, 0.86);
}

.section-dark .section-title,
.section-dark h3 {
  color: var(--hk-white);
}

.section-dark .section-eyebrow {
  color: var(--hk-teal-100);
}

.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Category / interactive tiles (allowed as interaction containers) */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  padding: 1.35rem 1.3rem;
  border-radius: var(--radius-lg);
  background: var(--hk-white);
  border: 1px solid rgba(215, 227, 224, 0.9);
  box-shadow: var(--shadow-soft);
  color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(13, 148, 136, 0.35);
  color: inherit;
}

.tile-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--hk-teal-100), #e6fffa);
  color: var(--hk-teal-700);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.tile-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--hk-teal-50);
}

.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Light unique backgrounds per category card */
.tile-tone-1 {
  background: #e8f8f5;
  border-color: #c5ebe3;
}
.tile-tone-1 .tile-icon {
  background: #c8efe7;
  color: #0f766e;
}

.tile-tone-2 {
  background: #eaf4fc;
  border-color: #c9e2f5;
}
.tile-tone-2 .tile-icon {
  background: #d0e8f8;
  color: #0369a1;
}

.tile-tone-3 {
  background: #fff6e8;
  border-color: #f3e0bf;
}
.tile-tone-3 .tile-icon {
  background: #f7e4c4;
  color: #b45309;
}

.tile-tone-4 {
  background: #eefaf1;
  border-color: #cfe9d7;
}
.tile-tone-4 .tile-icon {
  background: #d5f0de;
  color: #15803d;
}

.tile-tone-5 {
  background: #f4eefc;
  border-color: #e0d4f3;
}
.tile-tone-5 .tile-icon {
  background: #e6daf7;
  color: #6d28d9;
}

.tile-tone-6 {
  background: #fdeff2;
  border-color: #f3d0d8;
}
.tile-tone-6 .tile-icon {
  background: #f7d6de;
  color: #be123c;
}

.tile h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.tile p {
  color: var(--hk-muted);
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.tile-link {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--hk-teal-700);
}

/* Feature band */
.feature-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}

.feature-visual {
  position: relative;
  margin: 0;
  min-height: 360px;
  border-radius: calc(var(--radius-lg) + 4px);
  overflow: hidden;
  background: var(--hk-teal-900);
  box-shadow: var(--shadow-soft);
}

.feature-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transform: scale(1.02);
}

.feature-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 47, 46, 0.15) 0%, rgba(4, 47, 46, 0.72) 100%);
  pointer-events: none;
}

.feature-visual-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.35rem 1.4rem 1.45rem;
  color: #fff;
}

.feature-visual-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.35rem;
}

.feature-visual-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.feature-copy .section-title {
  margin-bottom: 0.65rem;
}

.feature-copy .section-lead {
  margin-bottom: 0.25rem;
}

.feature-copy .checklist {
  margin-top: 1.1rem;
}

.checklist {
  display: grid;
  gap: 0.85rem;
  margin: 1.4rem 0 1.8rem;
}

.checklist li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--hk-ink-soft);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--hk-teal-500), var(--hk-teal-700));
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
}

/* CTA strip */
.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.8rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--hk-teal-800), var(--hk-teal-600));
  color: white;
  box-shadow: var(--shadow-soft);
}

.cta-strip h2 {
  color: white;
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.cta-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}

.page-hero h1 {
  font-size: clamp(1.7rem, 4vw, 3rem);
  max-width: min(100%, 28ch);
}

.page-hero h1.title-one-line {
  max-width: min(100%, 22ch);
  white-space: normal;
  overflow-wrap: break-word;
  font-size: clamp(1.25rem, 3.2vw, 2.15rem);
}

.page-hero p {
  max-width: 48ch;
  color: var(--hk-muted);
  font-size: 1.1rem;
}

.page-hero p.text-one-line {
  max-width: min(100%, 52ch);
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.5;
  font-size: clamp(1rem, 2.4vw, 1.1rem);
}

/* Forms */
.form-panel {
  max-width: 640px;
  background: var(--hk-white);
  border: 1px solid var(--hk-line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--hk-ink);
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  border: 1.5px solid var(--hk-line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--hk-ink);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--hk-teal-500);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
}

.form-note {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--hk-muted);
}

/* Content prose */
.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-top: 1.8rem;
  font-size: 1.35rem;
}

.prose ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

/* About page */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.about-pillar {
  background: var(--hk-white);
  border: 1px solid var(--hk-line);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.3rem 1.45rem;
  box-shadow: var(--shadow-soft);
}

.about-pillar-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--hk-teal-700);
  margin-bottom: 0.75rem;
}

.about-pillar h3 {
  font-size: 1.12rem;
  margin: 0 0 0.45rem;
}

.about-pillar p {
  margin: 0;
  color: var(--hk-muted);
  font-size: 0.98rem;
}

.about-steps {
  display: grid;
  gap: 0.85rem;
  max-width: 760px;
}

.about-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--hk-white);
  border: 1px solid var(--hk-line);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
}

.about-step-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--hk-teal-700);
  font-size: 1.05rem;
  line-height: 1.2;
  padding-top: 0.15rem;
}

.about-step h3 {
  margin: 0 0 0.3rem;
  font-size: 1.08rem;
}

.about-step p {
  margin: 0;
  color: var(--hk-muted);
}

/* Empty / shell notice */
.shell-note {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  background: var(--hk-accent-soft);
  color: #6b5420;
  font-size: 0.95rem;
  border: 1px solid rgba(196, 163, 90, 0.35);
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  background: var(--hk-teal-950);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.brand-footer {
  color: white;
  margin-bottom: 0.8rem;
}

.brand-footer .brand-logo {
  height: 76px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.65);
  max-width: 34ch;
  line-height: 1.55;
}

.footer-admin-link {
  display: inline;
  margin-left: 0.25rem;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
}

.footer-admin-link:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-heading {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1rem;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: white;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.55rem;
}

.footer-phones-line .phone-sep {
  opacity: 0.55;
}

.footer-address,
.contact-address {
  display: grid;
  gap: 0.1rem;
}

.address-line {
  display: block;
}

.footer-address {
  font-size: 0.62rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.68);
}

.footer-address .address-line {
  display: block;
  white-space: nowrap;
}

.contact-meta p {
  margin: 0 0 0.45rem;
}

.contact-meta p:last-child {
  margin-bottom: 0;
}

.contact-phones-line {
  line-height: 1.5;
}

.footer-wa {
  margin-top: 0.9rem;
  border-color: rgba(255, 255, 255, 0.35);
  color: white;
}

.footer-wa:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0 1.25rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-bottom-inner p {
  margin: 0;
  width: 100%;
  text-align: center;
}


/* Catalog filters */
.catalog-filters {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--hk-white);
  border: 1px solid var(--hk-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.filter-field input,
.filter-field select {
  width: 100%;
  border: 1.5px solid var(--hk-line);
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
  font: inherit;
  background: #fff;
  color: var(--hk-ink);
}

.filter-field input:focus,
.filter-field select:focus {
  outline: none;
  border-color: var(--hk-teal-500);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
}

.result-count {
  color: var(--hk-muted);
  font-size: 0.95rem;
  margin: 0 0 1.1rem;
}

.tile-count {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--hk-teal-700) !important;
  margin-bottom: 0.6rem !important;
}

/* Product grid / cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.product-card {
  background: var(--hk-white);
  border: 1px solid rgba(215, 227, 224, 0.95);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.product-card-media {
  display: block;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #e6fffa, #f0fdfa);
  overflow: hidden;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.product-card:hover .product-card-media img {
  transform: scale(1.04);
}

.product-card-body {
  padding: 1.05rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-cat {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hk-teal-700);
  margin: 0 0 0.4rem;
}

.product-card-title {
  font-size: 1.08rem;
  margin: 0 0 0.4rem;
}

.product-card-title a {
  color: var(--hk-ink);
}

.product-card-title a:hover {
  color: var(--hk-teal-800);
}

.product-card-desc {
  color: var(--hk-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex: 1;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-card-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--hk-teal-900);
}

.product-card-quote {
  margin-top: 0.85rem;
  width: 100%;
  justify-content: center;
}

.product-card-quote.is-added {
  border-color: rgba(15, 118, 110, 0.55);
  color: var(--hk-teal-900);
  background: var(--hk-teal-50);
}

.nav-quote {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cart-badge {
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--hk-teal-800);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25rem;
  text-align: center;
}

.quote-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}

.quote-panel,
.quote-form-panel {
  background: #fff;
  border: 1px solid var(--hk-line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.quote-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--hk-muted);
}

.quote-empty .btn {
  margin-top: 1rem;
}

.quote-list {
  display: grid;
  gap: 0.85rem;
}

.quote-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.85rem;
  padding: 0.75rem;
  border: 1px solid var(--hk-line);
  border-radius: calc(var(--radius-lg) - 4px);
}

.quote-item-media {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--hk-teal-50);
  display: grid;
  place-items: center;
}

.quote-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-item-fallback {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--hk-teal-800);
}

.quote-item-title {
  color: var(--hk-ink);
  font-weight: 600;
  text-decoration: none;
}

.quote-item-title:hover {
  color: var(--hk-teal-800);
}

.quote-item-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.55rem;
}

.quote-item-controls input[type="number"] {
  width: 4.5rem;
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--hk-line);
  border-radius: 8px;
}

.quote-form-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.cart-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(120%);
  background: #0f3d3a;
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.cart-toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (max-width: 860px) {
  .quote-layout {
    grid-template-columns: 1fr;
  }
}

/* Product detail */
.product-detail {
  padding-top: clamp(2rem, 5vw, 3.5rem);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.4rem;
  align-items: start;
}

.product-gallery-main {
  border-radius: calc(var(--radius-lg) + 2px);
  overflow: hidden;
  background: #e6fffa;
  border: 1px solid var(--hk-line);
}

.product-gallery-main img {
  width: 100%;
  height: auto;
  display: block;
}

.product-thumbs {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.product-thumbs img {
  width: 72px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--hk-line);
}

.product-info h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 0.45rem;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--hk-teal-800);
  margin: 0 0 0.85rem;
}

.product-lead {
  font-size: 1.08rem;
  color: var(--hk-muted);
}

.product-features-title {
  font-size: 1.1rem;
  margin-top: 1.4rem;
}

.form-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Service list */
.service-list {
  display: grid;
  gap: 1rem;
}

.service-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--hk-line);
}

.service-item:last-child {
  border-bottom: none;
}

.service-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--hk-teal-600);
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 960px) {
  .tile-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-band {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-visual,
  .feature-visual img {
    min-height: 280px;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-filters {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .brand-logo {
    height: 48px;
  }

  .brand-footer .brand-logo {
    height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--hk-line);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list a {
    padding: 0.85rem 1rem;
  }

  .header-cta {
    width: 100%;
  }

  .tile-grid,
  .product-grid,
  .feature-band,
  .footer-grid,
  .product-detail-grid,
  .catalog-filters {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: clamp(420px, 62vh, 560px);
    place-items: center;
  }

  .hero-dots {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 0.85rem;
  }
}

/* Floating Call / WhatsApp (Phase 4) */
.float-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: grid;
  gap: 0.65rem;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(11, 18, 32, 0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.float-btn:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 16px 32px rgba(11, 18, 32, 0.22);
}

.float-call {
  background: linear-gradient(135deg, #0d9488, #0f766e);
}

.float-wa {
  background: linear-gradient(135deg, #22c55e, #15803d);
}

.float-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  background: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.float-icon-call {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.3 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1L6.6 10.8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.3 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1L6.6 10.8z'/%3E%3C/svg%3E");
}

.float-icon-wa {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2C6.5 2 2 6.3 2 11.6c0 2 .6 3.9 1.7 5.5L2 22l5.1-1.6c1.5.8 3.2 1.3 4.9 1.3 5.5 0 10-4.3 10-9.6S17.5 2 12 2zm0 17.5c-1.5 0-2.9-.4-4.2-1.1l-.3-.2-3 .9.9-2.9-.2-.3C4.5 14.8 4 13.2 4 11.6 4 7.4 7.6 4 12 4s8 3.4 8 7.6-3.6 7.9-8 7.9zm4.4-5.9c-.2-.1-1.4-.7-1.6-.8-.2-.1-.4-.1-.5.1-.2.2-.6.8-.7.9-.1.2-.3.2-.5.1-.2-.1-.9-.3-1.8-1.1-.7-.6-1.1-1.3-1.3-1.5-.1-.2 0-.3.1-.4.1-.1.2-.3.3-.4.1-.1.1-.2.2-.4 0-.1 0-.3-.1-.4-.1-.1-.5-1.3-.7-1.8-.2-.4-.4-.4-.5-.4h-.4c-.1 0-.4.1-.6.3-.2.2-.8.8-.8 1.9s.8 2.2.9 2.3c.1.2 1.6 2.4 3.8 3.4 2.2.9 2.2.6 2.6.6.4 0 1.3-.5 1.5-1 .2-.5.2-.9.1-1 0-.1-.2-.2-.4-.3z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2C6.5 2 2 6.3 2 11.6c0 2 .6 3.9 1.7 5.5L2 22l5.1-1.6c1.5.8 3.2 1.3 4.9 1.3 5.5 0 10-4.3 10-9.6S17.5 2 12 2zm0 17.5c-1.5 0-2.9-.4-4.2-1.1l-.3-.2-3 .9.9-2.9-.2-.3C4.5 14.8 4 13.2 4 11.6 4 7.4 7.6 4 12 4s8 3.4 8 7.6-3.6 7.9-8 7.9zm4.4-5.9c-.2-.1-1.4-.7-1.6-.8-.2-.1-.4-.1-.5.1-.2.2-.6.8-.7.9-.1.2-.3.2-.5.1-.2-.1-.9-.3-1.8-1.1-.7-.6-1.1-1.3-1.3-1.5-.1-.2 0-.3.1-.4.1-.1.2-.3.3-.4.1-.1.1-.2.2-.4 0-.1 0-.3-.1-.4-.1-.1-.5-1.3-.7-1.8-.2-.4-.4-.4-.5-.4h-.4c-.1 0-.4.1-.6.3-.2.2-.8.8-.8 1.9s.8 2.2.9 2.3c.1.2 1.6 2.4 3.8 3.4 2.2.9 2.2.6 2.6.6.4 0 1.3-.5 1.5-1 .2-.5.2-.9.1-1 0-.1-.2-.2-.4-.3z'/%3E%3C/svg%3E");
}

.btn.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

@media (max-width: 640px) {
  .float-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .float-btn {
    width: 48px;
    height: 48px;
    justify-content: center;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-brand,
  .hero-title,
  .hero-copy,
  .hero .btn-group,
  .reveal,
  .hero-slide,
  .hero-slide-img,
  .hero-slide-caption {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }
}
