/* ============================================================
   Salma Naseer Enterprises: clean professional-services system
   Restrained neutrals, one terracotta accent, standard proven layout.
   ============================================================ */

@font-face {
  font-family: 'Inter Variable';
  src: url('assets/fonts/Inter-Variable.woff2') format('woff2-variations'),
       url('assets/fonts/Inter-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --surface: #faf9f7;
  --surface-strong: #f2f0ec;
  --ink: #201c1a;
  --ink-soft: #6b625a;
  --terracotta: #b8452c;
  --terracotta-dark: #8f351f;
  --terracotta-tint: #fbe9e4;
  --border: rgba(32, 28, 26, 0.1);
  --border-strong: rgba(32, 28, 26, 0.16);

  --font-body: 'Inter Variable', 'Inter', sans-serif;

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.1rem;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(32, 28, 26, 0.05), 0 1px 3px rgba(32, 28, 26, 0.07);
  --shadow-md: 0 8px 20px rgba(32, 28, 26, 0.08), 0 2px 6px rgba(32, 28, 26, 0.05);
  --shadow-lg: 0 16px 32px rgba(32, 28, 26, 0.12), 0 4px 10px rgba(32, 28, 26, 0.06);

  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* ---------- Reset ---------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* ---------- Browser surfaces ---------- */

::selection {
  background: var(--terracotta);
  color: var(--white);
}

:focus-visible {
  outline: 2.5px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}

html {
  scrollbar-color: var(--terracotta) var(--surface-strong);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: var(--surface-strong);
}

::-webkit-scrollbar-thumb {
  background: var(--terracotta);
  border: 2.5px solid var(--surface-strong);
  border-radius: var(--radius-pill);
}

/* ---------- Type scale ---------- */

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.6rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

p {
  max-width: var(--measure);
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
}

/* ---------- Layout ---------- */

.wrap {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.surface {
  background: var(--surface);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  min-width: 0;
}

.brand__mark {
  width: 2.35rem;
  height: 2.35rem;
  flex: none;
  background: var(--terracotta);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand__mark span {
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--white);
  letter-spacing: 0.01em;
}

.brand__name {
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 13rem;
}

.brand__name small {
  display: block;
  font-weight: 500;
  font-size: 0.68rem;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.site-nav__links {
  display: flex;
  gap: clamp(1rem, 2vw, 1.75rem);
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav__links a {
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 0.3rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--terracotta);
}

.call-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--terracotta);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.call-badge:hover {
  background: var(--terracotta-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.call-badge svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.nav-toggle {
  display: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  white-space: nowrap;
  border-radius: var(--radius-md);
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
}

.btn--primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--terracotta-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn--ghost {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--border-strong);
}

.btn--ghost:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  box-shadow: var(--shadow-sm);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(3rem, 7vw, 5.5rem);
  text-align: center;
}

.hero__inner {
  max-width: 44rem;
  margin-inline: auto;
}

.hero__title {
  margin-bottom: 1.1rem;
}

.hero__title em {
  font-style: normal;
  color: var(--terracotta);
}

.hero__lede {
  margin-inline: auto;
  margin-bottom: 1.9rem;
}

.cta-row--center {
  justify-content: center;
}

.trust-row {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-row svg {
  width: 1rem;
  height: 1rem;
  stroke: var(--terracotta);
  flex: none;
}

/* ---------- Service cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
  scroll-margin-top: 5.5rem;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-card__icon {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  background: var(--terracotta-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.service-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--terracotta);
}

.service-card__title {
  margin-bottom: 0.5rem;
}

.service-card__desc {
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
  font-size: 0.97rem;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.93rem;
}

.service-card__list svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  margin-top: 0.15rem;
  stroke: var(--terracotta);
}

/* ---------- Generic section headers ---------- */

.section-head {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  color: var(--ink-soft);
  margin-top: 0.75rem;
}

/* ---------- Why-us cards ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.25rem;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.why-card svg {
  width: 1.6rem;
  height: 1.6rem;
  stroke: var(--terracotta);
}

.why-card strong {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}

/* ---------- Area / credibility strip ---------- */

.strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill-fact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, color 0.15s ease;
}

a.pill-fact:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.pill-fact svg {
  width: 1rem;
  height: 1rem;
  stroke: var(--terracotta);
  flex: none;
}

/* ---------- Page intro (inner pages) ---------- */

.page-intro {
  padding-block: clamp(2.75rem, 6vw, 4.25rem);
  text-align: center;
}

.page-intro .wrap {
  max-width: 44rem;
}

.page-intro h1 {
  margin-bottom: 1rem;
}

.page-intro .lede {
  margin-inline: auto;
}

/* ---------- About page blocks ---------- */

.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.fact-grid__item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-sm);
}

.fact-grid__item dt {
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.fact-grid__item dd {
  font-size: 1.02rem;
  font-weight: 700;
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-card__icon {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  background: var(--terracotta-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--terracotta);
}

.contact-card h3 {
  margin-top: 0.2rem;
}

.contact-card a,
.contact-card p {
  text-decoration: none;
  font-size: 1.03rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-card a:hover {
  color: var(--terracotta);
}

.contact-card small {
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 400;
}

/* ---------- CTA band (closing section) ---------- */

.cta-band {
  background: var(--terracotta);
  color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(2.25rem, 5vw, 3.25rem);
  max-width: 72rem;
  margin: 0 auto;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.6rem;
}

.cta-band__lede {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.8rem;
}

.cta-band__row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-end;
  justify-content: space-between;
}

.cta-band__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.cta-band__contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--white);
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 0.15rem;
  transition: border-color 0.15s ease;
}

.cta-band__contact a:hover {
  border-color: var(--white);
}

.cta-band__contact svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding-block: clamp(2rem, 4vw, 3rem);
}

.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.site-footer__legal {
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.site-footer nav a {
  text-decoration: none;
  color: var(--ink-soft);
}

.site-footer nav a:hover {
  color: var(--terracotta);
}

/* ---------- Accessibility ---------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 42rem) {
  .site-nav__links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-sm);
  }

  .nav-toggle svg {
    width: 1.3rem;
    height: 1.3rem;
  }

  .site-nav.is-open .site-nav__links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem var(--gutter) 1rem;
  }

  .site-nav.is-open .site-nav__links a {
    padding-block: 0.6rem;
    border-bottom: 1px solid var(--border);
  }

  .site-nav {
    position: static;
  }

  .brand__name {
    max-width: 8.5rem;
  }

  .brand__name small {
    display: none;
  }

  .call-badge span {
    display: none;
  }

  .call-badge {
    padding: 0.6rem;
  }

  .cta-band__row {
    flex-direction: column;
    align-items: flex-start;
  }
}
