:root {
  --ink: #1e1717;
  --muted: #695858;
  --blue: #b0000b;
  --blue-dark: #790007;
  --sky: #fff4f4;
  --paper: #ffffff;
  --white: #ffffff;
  --line: #efd6d6;
  --red: #e00012;
  --gold: #ffd400;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 6px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: clamp(160px, 15vw, 210px);
  max-height: none;
  height: auto;
}

.brand strong,
.brand small,
.footer span {
  display: block;
}

.brand strong {
  font-weight: 800;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

nav a:hover,
.text-link:hover {
  color: var(--blue);
}

.hero,
.section,
.footer,
.page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 77px);
  padding: 62px 0;
}

.hero > * {
  min-width: 0;
}

.nepali {
  margin: 0 0 12px;
  color: var(--red);
  font-family: "Noto Sans Devanagari", Inter, sans-serif;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 6.4vw, 6.2rem);
  line-height: 0.95;
}

.hero h1 {
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.hero-text > p:not(.nepali),
.section p,
.page p,
.page li {
  color: var(--muted);
  font-size: 1.03rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-tagline {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero-tagline:hover {
  color: var(--blue-dark);
}

.button,
.lead-form button,
.chat-form button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.button.ghost {
  background: var(--white);
  color: var(--blue);
}

.photo-story {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(11, 120, 182, 0.14);
}

.story-card {
  position: absolute;
  inset: 0;
  margin: 0;
  min-height: 580px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.story-card.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.story-card img {
  width: 100%;
  height: 580px;
  object-fit: cover;
}

.story-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  border-left: 4px solid var(--red);
}

.story-card strong,
.story-card span {
  display: block;
}

.story-card span {
  margin-top: 4px;
  color: var(--muted);
}

.dots {
  display: flex;
  gap: 8px;
  padding: 14px;
}

.dots button {
  min-height: 38px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
  font-weight: 800;
  padding: 8px 12px;
}

.dots button.active {
  background: var(--blue);
  color: var(--white);
}

.section {
  padding: 58px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 52px;
  align-items: start;
}

.label {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.work-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.work-list article {
  min-height: 210px;
  padding: 24px;
  background: var(--white);
}

.work-list span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 22px;
  background: var(--sky);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.media-wall {
  width: 100%;
  max-width: none;
  padding-inline: max(22px, calc((100vw - 1180px) / 2));
  background: var(--white);
}

.media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 18px;
}

.story-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 18px;
  background: var(--line);
  border: 1px solid var(--line);
}

.story-strip article {
  padding: 18px;
  background: var(--paper);
}

.story-strip strong,
.story-strip span {
  display: block;
}

.story-strip strong {
  color: var(--blue);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.story-strip span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.media-grid figure {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sky);
}

.media-grid .media-large {
  grid-row: span 2;
  min-height: 580px;
}

.expanded-gallery {
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 0.78fr));
  grid-auto-rows: 250px;
}

.expanded-gallery .media-large {
  min-height: auto;
}

.media-grid img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.media-grid figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.91);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}

.rhythm {
  background: var(--blue-dark);
  color: var(--white);
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
}

.rhythm .label {
  color: #ffced3;
}

.rhythm-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.rhythm-grid span {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.social-proof,
.reviews {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: start;
}

.social-proof h2,
.reviews h2 {
  max-width: 620px;
  font-size: clamp(1.75rem, 2.7vw, 2.8rem);
}

.social-embeds {
  display: grid;
  grid-template-columns: minmax(320px, 500px);
  gap: 0;
  align-items: start;
  justify-content: start;
  justify-items: stretch;
  min-width: 0;
}

.embed-card {
  overflow: hidden;
  width: 100%;
  max-width: 540px;
  min-height: 420px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
}

.embed-card > strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
}

.embed-card iframe {
  display: block;
  width: min(100%, 500px);
  max-width: 500px;
  max-height: 520px;
  margin-inline: auto;
  background: var(--white);
}

.tiktok-card {
  display: grid;
  gap: 12px;
  max-width: 360px;
  margin-top: 24px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
}

.tiktok-card > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.tiktok-card strong {
  color: var(--ink);
}

.tiktok-card span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.tiktok-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tiktok-thumbs img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
}

.tiktok-card .text-link {
  width: fit-content;
  font-size: 0.92rem;
}

.family,
.chatbot-section,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.reviews {
  align-items: center;
  background: var(--white);
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 14px;
}

.review-card {
  display: grid;
  min-height: 320px;
  align-content: end;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
}

.google-card {
  background:
    linear-gradient(180deg, rgba(8, 71, 110, 0.08), rgba(8, 71, 110, 0.62)),
    url("assets/gallery/gallery-14-morning-lineup.jpg") center / cover no-repeat;
  color: var(--white);
}

.review-card:not(.google-card) {
  background: var(--sky);
  color: var(--ink);
}

.google-card span,
.review-card:not(.google-card) span {
  width: fit-content;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.google-card strong,
.review-card:not(.google-card) strong {
  max-width: 540px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
}

.google-card small,
.review-card:not(.google-card) small {
  max-width: 460px;
  font-size: 1rem;
}

.google-card small {
  color: rgba(255, 255, 255, 0.88);
}

.review-card:not(.google-card) small {
  color: var(--muted);
}

.family img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.text-link {
  color: var(--blue);
  font-weight: 800;
}

.chat-panel,
.page-card {
  background: var(--white);
  border: 1px solid var(--line);
}

.chat-window {
  height: 260px;
  overflow: auto;
  padding: 16px;
}

.message.bot,
.message.user,
.message.lead {
  max-width: 88%;
  margin-bottom: 10px;
  padding: 10px 12px;
  background: var(--sky);
}

.message.user {
  margin-left: auto;
  background: #fff0f0;
}

.message.lead {
  border-left: 3px solid var(--blue);
  background: #fff;
}

.message span {
  display: block;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.message p {
  margin: 4px 0 0;
}

.quick-replies,
.chat-form {
  display: flex;
  gap: 8px;
  padding: 0 16px 16px;
}

.quick-replies {
  flex-wrap: wrap;
}

.quick-replies button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
  font-weight: 800;
}

.chat-form input {
  min-width: 0;
  flex: 1;
  min-height: 46px;
  border: 1px solid var(--line);
  padding: 10px 12px;
}

.page {
  padding: 74px 0;
}

.page.slim {
  max-width: 880px;
}

.page h1 {
  font-size: clamp(2.15rem, 4vw, 3.7rem);
  line-height: 1.04;
}

.page-card {
  margin-top: 28px;
  padding: 26px;
}

.page-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 22px;
  border: 1px solid var(--line);
}

.page-card ul {
  padding-left: 20px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.mission-grid article {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}

.mission-grid span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mission-grid h2 {
  margin-top: 8px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.mission-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.map {
  width: 100%;
  min-height: 480px;
  border: 1px solid var(--line);
}

.lead-form {
  display: grid;
  gap: 12px;
}

.lead-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px;
  background: var(--white);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  display: grid;
  grid-template-columns: minmax(250px, 0.95fr) minmax(330px, 1.05fr) minmax(80px, auto) minmax(190px, auto);
  gap: 18px;
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer strong {
  display: block;
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.footer-brand img {
  width: min(230px, 100%);
  height: auto;
  margin-bottom: 6px;
}

.footer-tagline {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.footer-brand span {
  margin-top: 4px;
}

.footer-nav,
.footer-social {
  display: flex;
  gap: 10px;
  min-width: 0;
}

.footer-nav {
  width: auto;
  order: 4;
  justify-content: flex-end;
  gap: 14px;
  font-size: 0.84rem;
}

.footer-contact {
  display: grid;
  order: 2;
  gap: 5px;
  min-width: 0;
}

.contact-line,
.email-line {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.contact-line {
  white-space: nowrap;
}

.contact-line .separator {
  display: inline;
  flex: 0 0 auto;
}

.contact-line svg,
.email-line svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: var(--blue);
}

.email-line strong {
  display: inline;
  flex: 0 0 auto;
}

.contact-line a,
.email-line a {
  white-space: nowrap;
}

.footer-contact a,
.footer-social a {
  color: var(--muted);
}

.footer-contact a {
  overflow-wrap: anywhere;
}

.footer-contact a:hover,
.footer-social a:hover,
.footer-nav a:hover {
  color: var(--blue);
}

.footer-social {
  order: 3;
  justify-content: flex-end;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 800;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: var(--blue);
}

.footer-copy {
  grid-column: 1 / -1;
  order: 5;
  margin: 4px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  .header {
    align-items: center;
    flex-direction: column;
  }

  .header {
    position: relative;
    gap: 6px;
  }

  .brand img {
    width: min(180px, 58vw);
    max-height: none;
  }

  .hero,
  .split,
  .social-proof,
  .reviews,
  .family,
  .chatbot-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 28px;
    padding: 34px 0 46px;
  }

  .hero h1 {
    max-width: 560px;
    font-size: clamp(2.25rem, 9vw, 3.5rem);
    line-height: 1.02;
  }

  .hero-text > p:not(.nepali) {
    max-width: 640px;
  }

  .rhythm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-grid,
  .story-strip,
  .social-embeds,
  .review-grid,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    grid-template-columns: 1fr 1fr;
  }

  .media-grid .media-large {
    min-height: 420px;
  }

  .expanded-gallery {
    grid-auto-rows: 280px;
  }

  .social-proof h2,
  .reviews h2 {
    font-size: clamp(1.9rem, 6vw, 2.8rem);
  }

  .embed-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .hero,
  .section,
  .footer,
  .page {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
    margin-inline: auto;
  }

  .hero-text,
  .photo-story,
  .story-card,
  .section > *,
  .page > * {
    min-width: 0;
    max-width: 100%;
  }

  .header {
    padding: 6px 14px 8px;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .header > nav {
    display: none;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.84rem;
  }

  .brand img {
    width: min(150px, 46vw);
    max-height: none;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
    padding-block: 16px;
    font-size: 0.84rem;
  }

  .footer-brand img {
    width: min(190px, 62vw);
    max-height: none;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand span {
    max-width: 260px;
    line-height: 1.35;
  }

  .footer-tagline {
    font-size: 0.7rem;
  }

  .footer-nav {
    grid-column: 1 / -1;
    order: 4;
    justify-content: flex-start;
    gap: 14px;
    width: auto;
    font-size: 0.78rem;
    padding-top: 4px;
  }

  .footer-copy {
    padding-top: 8px;
    font-size: 0.74rem;
    line-height: 1.4;
  }

  .footer-contact {
    grid-column: 1 / -1;
    order: 2;
    gap: 4px;
    line-height: 1.35;
  }

  .contact-line,
  .email-line {
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
  }

  .contact-line {
    font-size: 0.82rem;
  }

  .footer-social {
    grid-column: 1 / -1;
    grid-row: auto;
    order: 3;
    align-self: start;
    gap: 8px;
    justify-content: flex-start;
  }

  .footer-social a {
    width: 32px;
    height: 32px;
  }

  .footer-social svg {
    width: 16px;
    height: 16px;
  }

  .hero h1 {
    font-size: clamp(1.82rem, 7.1vw, 2.2rem);
    line-height: 1.08;
    margin-bottom: 14px;
  }

  .page h1 {
    font-size: clamp(1.9rem, 8vw, 2.45rem);
    line-height: 1.1;
  }

  h2 {
    font-size: clamp(1.48rem, 6vw, 1.92rem);
    line-height: 1.08;
  }

  .nepali {
    margin-bottom: 8px;
    font-size: 0.94rem;
  }

  .hero-text > p:not(.nepali),
  .section p,
  .page p,
  .page li {
    font-size: 0.91rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .hero-text > p:not(.nepali) {
    max-width: min(100%, 330px);
  }

  .actions,
  .review-actions {
    gap: 9px;
  }

  .button,
  .lead-form button,
  .chat-form button {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
  }

  .story-card,
  .story-card img {
    min-height: 360px;
    height: 360px;
  }

  .story-card figcaption {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 12px;
  }

  .story-card figcaption span {
    font-size: 0.9rem;
  }

  .dots {
    padding: 10px;
  }

  .dots button {
    flex: 1;
    min-width: 0;
    padding-inline: 8px;
  }

  .section {
    padding-block: 34px;
  }

  .work-list article {
    min-height: auto;
    padding: 18px;
  }

  .media-grid figure,
  .media-grid .media-large {
    min-height: 270px;
  }

  .expanded-gallery {
    grid-auto-rows: auto;
  }

  .media-grid figcaption {
    font-size: 0.84rem;
  }

  .social-embeds {
    gap: 12px;
  }

  .embed-card {
    padding: 10px;
  }

  .embed-card iframe {
    height: 340px;
  }

  .map {
    min-height: 330px;
  }

  .review-card {
    min-height: 280px;
    padding: 18px;
  }

  .google-card strong,
  .review-card:not(.google-card) strong {
    font-size: 1.65rem;
  }

  .chat-window {
    height: 190px;
  }

  .message.bot,
  .message.user {
    max-width: 100%;
  }

  .work-list,
  .rhythm-grid {
    grid-template-columns: 1fr;
  }

  .quick-replies,
  .chat-form {
    flex-direction: column;
  }
}
