:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --text: #1d2738;
  --muted: #5a6678;
  --line: #e0e4ea;
  --max: 1180px;
  --nav-offset: clamp(0.8rem, 1.8vw, 1.1rem);
  --page-top-background:
    radial-gradient(circle at top left, rgba(209, 78, 99, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(92, 187, 213, 0.18), transparent 34%),
    linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 52%, #edf2f7 100%);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

html {
  scroll-padding-top: 8.25rem;
}

body {
  font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--page-top-background);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: #2453a9;
  text-underline-offset: 2px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 70;
  padding: 0.95rem 0.9rem 0;
  pointer-events: none;
}

.nav-wrap {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  pointer-events: auto;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.46)),
    rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow:
    0 22px 46px -34px rgba(20, 31, 48, 0.74),
    0 10px 26px -24px rgba(243, 82, 90, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  padding: 0.62rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.nav-wrap::before {
  content: "";
  position: absolute;
  inset: 1px 1px 46% 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.12));
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}

.nav-wrap > * {
  position: relative;
  z-index: 1;
}

.brand {
  text-decoration: none;
  color: #1b2434;
  font-weight: 800;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  text-transform: lowercase;
}

.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.brand-logo-full {
  display: block;
  width: auto;
  height: 28px;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(219, 225, 236, 0.95);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  color: #273447;
  font-weight: 700;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  text-decoration: none;
  color: #38465e;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 0.44rem 0.68rem;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.82);
  color: #1f2735;
}

.page-wrap {
  max-width: var(--max);
  margin: 5.95rem auto 0;
  padding: 0 1rem;
}

.home-page {
  background: var(--page-top-background);
}

.home-main {
  padding-top: 6.4rem;
}

.home-hero {
  padding: 0 0 2.2rem;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1.35rem;
  align-items: stretch;
}

.home-hero-copy,
.home-skill-panel,
.home-feature-card,
.home-process-card,
.home-service-card,
.home-project-card,
.home-about-copy,
.home-about-media,
.home-clients .logo-tile {
  border: 1px solid rgba(218, 223, 230, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 249, 251, 0.92)),
    #ffffff;
  box-shadow: 0 24px 44px -38px rgba(27, 36, 52, 0.34);
}

.home-hero-copy {
  border-radius: 36px;
  padding: clamp(1.4rem, 3vw, 2.6rem);
}

.home-eyebrow {
  margin: 0;
  color: #d14e63;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-title {
  margin: 0.7rem 0 0;
  max-width: 11ch;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.1rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  color: #20242d;
}

.home-lead {
  margin: 1.2rem 0 0;
  max-width: 60ch;
  font-size: 1.08rem;
  line-height: 1.82;
  color: #525f71;
}

.home-actions {
  margin-top: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.home-primary,
.home-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.88rem 1.35rem;
  border: 0;
  border-radius: 999px;
  appearance: none;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.home-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #da5f6f, #ef6d63);
  box-shadow: 0 16px 28px -22px rgba(218, 95, 111, 0.85);
}

.home-primary:hover,
.home-secondary:hover,
.home-service-card:hover,
.home-project-card:hover {
  transform: translateY(-2px);
}

.home-secondary {
  color: #273446;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(204, 211, 221, 0.96);
  box-shadow: 0 16px 28px -26px rgba(27, 36, 52, 0.44);
}

.home-stats {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-stat {
  padding: 1rem 1rem 0.95rem;
  border-radius: 24px;
  background: rgba(245, 245, 247, 0.78);
  border: 1px solid rgba(226, 231, 238, 0.95);
}

.home-stat strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  color: #1f2430;
}

.home-stat span {
  display: block;
  margin-top: 0.36rem;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #657387;
}

.home-hero-side {
  display: grid;
  gap: 1rem;
}

.home-portrait,
.home-about-media {
  margin: 0;
  overflow: hidden;
  border-radius: 36px;
}

.home-portrait img,
.home-about-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.home-skill-panel {
  border-radius: 30px;
  padding: 1.15rem 1.15rem 1.2rem;
}

.home-skill-panel-label {
  margin: 0;
  color: #212938;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-skill-chip-row {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.home-skill-chip-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: #f6e7ea;
  border: 1px solid #f0d6dc;
  color: #7d5061;
  font-size: 0.84rem;
  font-weight: 700;
}

.home-section {
  padding: 3.5rem 0 2.5rem;
}

.home-section-soft {
  position: relative;
}

.home-section-soft::before {
  content: "";
  position: absolute;
  inset: 1rem 0 3rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(244, 245, 247, 0.7));
  pointer-events: none;
}

.home-section-soft > .section-inner,
.home-appmost-band > .section-inner {
  position: relative;
  z-index: 1;
  padding: 0;
}

.home-section-head {
  max-width: 46rem;
  margin-bottom: 1.3rem;
}

.home-section-head-centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.home-section-head h2,
.home-clients-title,
.home-about-copy h2,
.home-appmost-band h2 {
  margin: 0.72rem 0 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #20242d;
}

.home-section-head h2 a {
  color: inherit;
  text-decoration: none;
}

.home-section-head p:last-child,
.home-clients-lead,
.home-about-copy p,
.home-appmost-band p:last-child {
  margin: 1rem 0 0;
  font-size: 1.02rem;
  line-height: 1.78;
  color: #586679;
}

.home-expertise-grid,
.home-process-grid,
.home-service-grid,
.home-project-grid {
  display: grid;
  gap: 1rem;
}

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

.home-process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-project-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-feature-card,
.home-process-card {
  border-radius: 30px;
  padding: 1.35rem;
}

.home-feature-card h3,
.home-process-card h3,
.home-service-card strong,
.home-project-card strong {
  display: block;
  margin: 0;
  color: #1f2634;
  font-size: 1.16rem;
  line-height: 1.3;
}

.home-feature-card p,
.home-process-card p,
.home-service-card p,
.home-project-card span {
  margin: 0.7rem 0 0;
  color: #5d6b7e;
  font-size: 0.96rem;
  line-height: 1.7;
}

.home-process-card span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  background: #f6e7ea;
  color: #cc5466;
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.home-clients {
  padding: 0 0 2.3rem;
}

.home-clients .clients-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.home-clients-title {
  max-width: none;
}

.home-clients-lead {
  max-width: 44rem;
  margin-right: auto;
  margin-left: auto;
}

.home-clients .logos-row {
  margin-top: 1.2rem;
}

.home-clients .logo-tile {
  min-width: 148px;
  padding: 1rem 1.15rem;
  border-radius: 22px;
}

.home-service-card,
.home-project-card {
  text-decoration: none;
  color: inherit;
  border-radius: 30px;
  overflow: hidden;
}

.home-service-card {
  padding: 1.35rem;
}

.home-service-card span {
  display: block;
  color: #d05869;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.home-project-card strong,
.home-project-card span {
  padding-right: 1rem;
  padding-left: 1rem;
}

.home-project-card strong {
  padding-top: 1rem;
}

.home-project-card span {
  display: block;
  padding-bottom: 1.1rem;
}

.home-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 1rem;
  align-items: stretch;
}

.home-about-copy {
  border-radius: 34px;
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.home-actions-inline {
  margin-top: 1.35rem;
}

.home-portfolio-cta {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.home-appmost-band {
  padding: 0 0 2.6rem;
  background: transparent;
}

.home-appmost-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 3rem;
  align-items: center;
  padding: clamp(3rem, 5vw, 4.5rem) clamp(2.5rem, 5vw, 4rem);
  border-radius: 24px;
  background: #f7f3f4;
  border: 1px solid rgba(209, 78, 99, 0.15);
}

.home-appmost-band .section-kicker {
  color: #d14e63;
}

.home-appmost-band h2 {
  color: #20242d;
  margin-top: 0.5rem;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.home-appmost-band p {
  color: #586679;
  margin-top: 0.9rem;
}

.home-primary-light {
  background: #d14e63;
  color: #fff;
  box-shadow: none;
  white-space: nowrap;
}

.hero {
  background: transparent;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 540px);
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.6rem);
}

.hero-kicker {
  margin: 0;
  color: #cf4d64;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.01em;
}

.page-title {
  margin: 0.35rem 0 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #21242e;
  max-width: 12ch;
}

.page-subtitle {
  margin: 1rem 0 0;
  font-size: clamp(1.03rem, 1.5vw, 1.24rem);
  line-height: 1.7;
  color: #475468;
  max-width: 60ch;
}

.hero-cta {
  margin-top: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  background: #f3525a;
  border-radius: 999px;
  padding: 0.78rem 1.35rem;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 20px -15px rgba(243, 82, 90, 0.8);
}

.hero-cta:hover {
  background: #e1444f;
}

.hero-stats {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-stat {
  background: #ffffff;
  border: 1px solid #dde2eb;
  border-radius: 14px;
  padding: 0.68rem 0.82rem;
  min-width: 145px;
}

.hero-stat-value {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  color: #262e3f;
}

.hero-stat-label {
  margin-top: 0.3rem;
  font-size: 0.93rem;
  color: #5e697c;
}

.hero-media {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid #d8dee8;
  background: #e9eef6;
}

.hero-media img {
  width: 100%;
  height: clamp(320px, 46vw, 620px);
  object-fit: cover;
  display: block;
}

.content {
  margin-top: 1.3rem;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.content-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1rem, 2.1vw, 1.7rem);
  box-shadow: 0 20px 36px -34px rgba(26, 36, 54, 0.34);
}

.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  margin: 1.45rem 0 0.32rem;
  color: #212a3b;
  line-height: 1.25;
}

.content h2 {
  font-size: clamp(1.34rem, 2.1vw, 2rem);
  margin-top: 2.1rem;
  padding-top: 0.95rem;
  border-top: 1px solid #e7ebf2;
}

.content h3 {
  font-size: clamp(1.13rem, 1.55vw, 1.48rem);
}

.content h2:first-of-type {
  margin-top: 1rem;
  padding-top: 0;
  border-top: 0;
}

.content p {
  margin: 0.7rem 0;
  max-width: 70ch;
  font-size: 1.02rem;
  line-height: 1.73;
  color: #2d394d;
}

.content .list-item {
  padding-left: 1rem;
  position: relative;
}

.content .list-item::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #d04a61;
}

.content-figure {
  margin: 1.2rem 0 0.5rem;
}

.content-figure.is-wide {
  max-width: min(760px, 100%);
}

.content-figure.is-portrait {
  max-width: min(460px, 100%);
}

.content-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid #d4dbe7;
  background: #f8f9fc;
  max-height: 540px;
  object-fit: cover;
}

.content figcaption {
  margin-top: 0.42rem;
  color: #647388;
  font-size: 0.92rem;
}

.logo-grid {
  margin: 1.2rem 0 0.6rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.72rem;
  max-width: min(760px, 100%);
}

.logo-item {
  margin: 0;
  padding: 0.68rem;
  border: 1px solid #dde3ed;
  border-radius: 14px;
  background: #fafbfd;
}

.logo-item img {
  width: 100%;
  height: 50px;
  object-fit: contain;
  display: block;
}

.content pre {
  margin: 1rem 0 0.4rem;
  padding: 1rem;
  border-radius: 12px;
  overflow: auto;
  background: #11192a;
  border: 1px solid #2f3d57;
  color: #e7eefc;
}

.content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.content th,
.content td {
  white-space: nowrap;
}

.content code {
  font-family: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.45;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid #d9dde4;
  background: #f3f4f7;
}

.footer-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.4rem 1rem 1.1rem;
  color: #5f6b7e;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(160px, 1.2fr) minmax(180px, 1fr) minmax(190px, 1fr) minmax(170px, 1fr) auto;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  padding-top: 0.15rem;
}

.footer-logo {
  text-decoration: none;
  color: #1f2634;
  font-weight: 800;
  font-size: 1.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-transform: lowercase;
}

.footer-logo-icon {
  width: 34px;
  height: 34px;
}

.footer-col h3 {
  margin: 0 0 0.6rem;
  color: #2a2f3b;
  font-size: 1.06rem;
  font-weight: 600;
}

.footer-col p {
  margin: 0 0 0.55rem;
  line-height: 1.55;
  font-size: 0.96rem;
  color: #6a7280;
}

.footer-col p a {
  color: inherit;
  text-decoration: none;
}

.footer-link-list {
  display: grid;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link-list a {
  text-decoration: none;
  color: #2f3747;
  font-size: 0.96rem;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  background: #d85c74;
  border-radius: 999px;
  padding: 0.62rem 1.1rem;
  font-size: 0.96rem;
  font-weight: 600;
}

.footer-cta:hover {
  background: #c94d66;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  padding-top: 0.05rem;
}

.footer-social a {
  width: 20px;
  height: 20px;
  color: #2e333e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-divider {
  margin-top: 1.65rem;
  border-top: 1px solid #d9dde4;
}

.footer-bottom {
  margin-top: 1rem;
  text-align: center;
  color: #6a7280;
  font-size: 0.92rem;
  padding-bottom: 0.25rem;
}

@media (max-width: 1100px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 1.5rem;
  }

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

@media (max-width: 860px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .footer-wrap {
    padding-top: 1.7rem;
  }

  .footer-col h3 {
    font-size: 1.2rem;
  }

  .footer-link-list a,
  .footer-col p,
  .footer-bottom,
  .footer-cta {
    font-size: 1rem;
  }

  .footer-logo {
    font-size: 1.65rem;
  }

  .footer-social {
    padding-top: 0;
  }
}


@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 680px;
  }
}

@media (max-width: 860px) {
  .site-header {
    padding: 0.75rem 0.65rem 0;
  }

  .nav-wrap {
    overflow: visible;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.74)),
      rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(220, 226, 236, 0.88);
    border-radius: 22px;
    padding: 0.65rem;
    min-width: min(18rem, calc(100vw - 1.3rem));
    max-width: min(22rem, calc(100vw - 1.3rem));
    max-height: calc(100dvh - 5.5rem);
    overflow: auto;
    flex-direction: column;
    align-items: flex-start;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 24px 40px -26px rgba(25, 39, 62, 0.44);
    z-index: 90;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 0.78rem 0.9rem;
  }

  .hero-kicker {
    font-size: 1.75rem;
  }

  .hero-media img {
    height: clamp(280px, 68vw, 460px);
  }

  .page-wrap {
    margin-top: 5.25rem;
  }
}

/* Shared layout + typography */

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-kicker {
  margin: 0;
  color: #d24d63;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  margin: 0.75rem 0 0;
  color: var(--text);
  font-size: clamp(1.75rem, 3.3vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
  max-width: 28ch;
}

.section-lead {
  margin: 1rem 0 0;
  max-width: 70ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.3rem;
  border-radius: 999px;
  font-size: 0.97rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #f3525a, #d84a6f);
  box-shadow: 0 18px 30px -22px rgba(216, 74, 111, 0.72);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid rgba(35, 49, 70, 0.12);
  background: rgba(255, 255, 255, 0.9);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
}

/* Logo grid */

.clients-section {
  padding: 2.8rem 0;
}

.clients-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logos-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 170px));
  justify-content: center;
  gap: 0.75rem;
}

.logos-row + .logos-row {
  margin-top: 0.75rem;
}

.logo-tile {
  margin: 0;
  padding: 0.95rem 1.05rem;
  min-height: 74px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
}

.logo-tile img {
  max-width: 100%;
  max-height: 30px;
  object-fit: contain;
  display: block;
}

/* Portfolio */

body.portfolio-page,
body.portfolio-detail-page {
  background: var(--page-top-background);
}

.portfolio-hero,
.portfolio-story-section,
.portfolio-list-section,
.portfolio-detail-shell {
  padding: 7rem 0 2rem;
}

.portfolio-story-section,
.portfolio-list-section,
.portfolio-detail-shell {
  padding-top: 0;
}

.portfolio-hero-grid,
.portfolio-story-grid,
.portfolio-detail-hero,
.portfolio-detail-grid {
  display: grid;
  gap: 1.15rem;
}

.portfolio-hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: stretch;
}

.portfolio-story-grid,
.portfolio-detail-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(290px, 0.98fr);
  align-items: start;
}

.portfolio-detail-hero {
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  align-items: stretch;
}

.portfolio-hero-copy,
.portfolio-collage-card,
.portfolio-story-card,
.portfolio-quote-card,
.portfolio-grid-item,
.portfolio-detail-copy,
.portfolio-detail-media,
.portfolio-detail-body,
.portfolio-detail-card {
  border: 1px solid rgba(218, 223, 230, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 249, 251, 0.92)),
    #ffffff;
  box-shadow: 0 24px 44px -38px rgba(27, 36, 52, 0.34);
}

.portfolio-hero-copy,
.portfolio-story-card,
.portfolio-quote-card,
.portfolio-detail-copy,
.portfolio-detail-body,
.portfolio-detail-card {
  border-radius: 34px;
  padding: clamp(1.35rem, 3vw, 2.3rem);
}

.portfolio-hero-copy h1,
.portfolio-index-head h2,
.portfolio-story-card h2,
.portfolio-detail-copy h1,
.portfolio-detail-card h2,
.portfolio-detail-body h2 {
  margin: 0.72rem 0 0;
  color: #20242d;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.portfolio-hero-copy h1,
.portfolio-detail-copy h1 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
}

.portfolio-index-head h2,
.portfolio-story-card h2,
.portfolio-detail-card h2,
.portfolio-detail-body h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.portfolio-hero-lead,
.portfolio-index-head p:last-child,
.portfolio-story-card p,
.portfolio-quote-card blockquote,
.portfolio-detail-lead,
.portfolio-detail-body p,
.portfolio-detail-card p {
  margin: 1rem 0 0;
  color: #586679;
  font-size: 1.01rem;
  line-height: 1.8;
}

.portfolio-hero-actions {
  margin-top: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.portfolio-mini-stats,
.portfolio-collage,
.portfolio-grid,
.portfolio-detail-aside,
.portfolio-detail-meta {
  display: grid;
}

.portfolio-mini-stats {
  margin-top: 1.55rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.portfolio-mini-stat {
  padding: 0.95rem 1rem;
  border-radius: 22px;
  background: rgba(245, 245, 247, 0.78);
  border: 1px solid rgba(226, 231, 238, 0.95);
}

.portfolio-mini-stat strong {
  display: block;
  color: #1f2430;
  font-size: 1.25rem;
  line-height: 1.1;
}

.portfolio-mini-stat span {
  display: block;
  margin-top: 0.35rem;
  color: #647184;
  font-size: 0.9rem;
  line-height: 1.55;
}

.portfolio-collage {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.portfolio-collage-card {
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  position: relative;
  min-height: 220px;
}

.portfolio-collage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-collage-card figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #232a38;
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: 0 16px 32px -26px rgba(26, 36, 54, 0.5);
}

.portfolio-collage-card-1,
.portfolio-collage-card-4 {
  min-height: 270px;
}

.portfolio-quote-card blockquote {
  margin-top: 1.15rem;
  font-size: 1.15rem;
  color: #243042;
}

.portfolio-quote-author {
  margin-top: 1.15rem;
  color: #7a5060;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-index-head {
  max-width: 46rem;
  margin-bottom: 1.3rem;
}

.portfolio-grid {
  margin-top: 1.05rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.portfolio-grid-expanded {
  margin-top: 0;
}

.portfolio-card,
.portfolio-grid-item {
  display: grid;
  gap: 0.55rem;
  padding: 0.95rem;
  border-radius: 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.portfolio-card:hover,
.portfolio-grid-item:hover {
  transform: none;
  border-color: inherit;
  box-shadow: none;
}

.portfolio-thumb {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(35, 49, 70, 0.12);
  background: #eef1f6;
  aspect-ratio: 3 / 2;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.02);
}

.portfolio-thumb-tight img {
  object-position: center 56%;
  transform: scale(1.12);
}

.portfolio-title {
  font-weight: 800;
  color: #1f2634;
  font-size: 1.04rem;
}

.portfolio-desc {
  color: #556175;
  font-size: 0.95rem;
  line-height: 1.6;
}

.portfolio-tags {
  color: #6b7688;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  line-height: 1.55;
}

.portfolio-detail-wrap,
.portfolio-detail-aside {
  display: grid;
  gap: 1rem;
}

.portfolio-detail-lead {
  max-width: 58ch;
}

.portfolio-detail-media {
  margin: 0;
  overflow: hidden;
  border-radius: 34px;
}

.portfolio-detail-img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.portfolio-detail-meta {
  gap: 0.55rem;
  margin-top: 1rem;
}

.portfolio-detail-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: #f6e7ea;
  border: 1px solid #f0d6dc;
  color: #7d5061;
  font-size: 0.84rem;
  font-weight: 700;
}

.portfolio-detail-body h2:first-child {
  margin-top: 0;
}

.portfolio-detail-body p + h2 {
  margin-top: 1.4rem;
}

.portfolio-detail-cta {
  background:
    radial-gradient(circle at top right, rgba(218, 95, 111, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 246, 248, 0.95));
}

.portfolio-detail-cta .btn-primary {
  margin-top: 1rem;
}

@media (max-width: 1040px) {
  .portfolio-hero-grid,
  .portfolio-story-grid,
  .portfolio-detail-hero,
  .portfolio-detail-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  .portfolio-hero,
  .portfolio-story-section,
  .portfolio-list-section,
  .portfolio-detail-shell {
    padding-bottom: 1.5rem;
  }

  .portfolio-mini-stats,
  .portfolio-grid,
  .portfolio-collage {
    grid-template-columns: 1fr;
  }

  .portfolio-hero-copy h1,
  .portfolio-detail-copy h1 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .portfolio-thumb img {
    min-height: 0;
    height: 100%;
  }

  .portfolio-detail-img {
    min-height: 0;
    height: 240px;
  }
}

@media (max-width: 1040px) {
  .logos-row {
    grid-template-columns: repeat(auto-fit, minmax(130px, 160px));
  }
}

@media (max-width: 720px) {
  .section-inner,
  .clients-inner {
    padding: 0 1.1rem;
  }

  .logos-row {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
}

/* ===== PORTFOLIO DETAIL (pdetail) ===== */

.pdetail-main { padding-top: 0; }

.pdetail-hero {
  padding: 7rem 0 4rem;
}

.pdetail-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.pdetail-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin: 0 0 1rem;
}

.pdetail-lead {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 1.8rem;
  max-width: 520px;
}

.pdetail-meta {
  display: flex;
  gap: 0 2.2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.pdetail-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pdetail-meta-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #cf4d64;
}

.pdetail-meta-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.pdetail-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pdetail-hero-media {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #eef1f5;
}

.pdetail-hero-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.pdetail-content-section {
  padding: 3rem 0 5rem;
  border-top: 1px solid rgba(218, 223, 230, 0.6);
}

.pdetail-content-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 3rem 4rem;
  align-items: start;
}

.pdetail-body h2 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 2.2rem 0 0.6rem;
}

.pdetail-body h2:first-child { margin-top: 0; }

.pdetail-body p {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 1rem;
}

.pdetail-figure {
  margin: 1.5rem 0;
  border-radius: 18px;
  overflow: hidden;
  background: #eef1f5;
}

.pdetail-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.pdetail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pdetail-sidebar-block {
  padding: 1.4rem 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(218, 223, 230, 0.7);
  background: rgba(255, 255, 255, 0.8);
}

.pdetail-sidebar-block h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #cf4d64;
  margin: 0 0 0.9rem;
}

.pdetail-sidebar-block p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 0.9rem;
}

.pdetail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.pdetail-tag {
  display: inline-block;
  padding: 0.22rem 0.65rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #cf4d64;
  background: rgba(209, 78, 99, 0.07);
  border: 1px solid rgba(209, 78, 99, 0.18);
}

@media (max-width: 860px) {
  .pdetail-hero-inner {
    grid-template-columns: 1fr;
  }

  .pdetail-hero-media {
    order: -1;
  }

  .pdetail-hero-media img {
    height: 260px;
  }

  .pdetail-content-inner {
    grid-template-columns: 1fr;
  }
}

/* Service pages (tjanster/*): clean, text-first layout (no hero images) */

body.service-page {
  background: var(--page-top-background);
}

.service-top {
  padding: 7.6rem 0 3.6rem;
  background:
    radial-gradient(circle at 8% 0%, rgba(209, 78, 99, 0.2), transparent 32%),
    radial-gradient(circle at 92% 4%, rgba(92, 187, 213, 0.22), transparent 36%),
    linear-gradient(180deg, rgba(255, 253, 251, 0.96) 0%, rgba(250, 252, 254, 0.84) 38%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.service-breadcrumbs {
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.service-breadcrumbs ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.service-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-breadcrumbs li + li::before {
  content: "/";
  color: rgba(90, 102, 120, 0.7);
}

.service-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.service-breadcrumbs a:hover {
  text-decoration: underline;
}

.service-title {
  margin: 0.75rem 0 0;
  font-size: clamp(2.25rem, 4.2vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text);
  font-weight: 800;
  max-width: 22ch;
}

.service-lead {
  margin: 1.15rem 0 0;
  max-width: 70ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.service-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.service-top-visual {
  margin: 1.9rem 0 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(218, 223, 230, 0.8);
  background: #eef1f5;
  box-shadow: 0 24px 60px rgba(31, 38, 52, 0.12);
}

.service-top-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.service-metrics {
  margin: 2.35rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.service-metric {
  margin: 0;
  padding: 0.95rem 1.05rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.service-metric dt {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
}

.service-metric dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.service-section {
  padding: 3.35rem 0;
}

.service-section.alt {
  background: #f6f7fb;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1.4rem 2.2rem;
  align-items: start;
}

.service-two-col > :last-child {
  padding-top: 1.7rem;
}

.service-bullets {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.82;
}

.service-bullets li + li {
  margin-top: 0.6rem;
}

.service-steps {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-step {
  padding: 1.35rem 1.25rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.service-step h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.35;
}

.service-step p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.service-link-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-link-card {
  padding: 1.25rem 1.25rem 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.service-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(35, 83, 169, 0.28);
}

.service-link-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.service-link-card strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.35;
}

.service-link-card p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.72;
}

.service-poc-showcase {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 1.4rem 1.6rem;
  align-items: stretch;
}

.service-poc-figure {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(218, 223, 230, 0.82);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 247, 251, 0.96) 100%);
  box-shadow: 0 20px 44px rgba(31, 38, 52, 0.08);
}

.service-poc-figure img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.service-poc-figure figcaption {
  padding: 1rem 1.1rem 1.15rem;
  color: #526177;
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-poc-cases {
  display: grid;
  gap: 0.9rem;
}

.service-poc-case {
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: 22px;
  border: 1px solid rgba(218, 223, 230, 0.82);
  background: rgba(255, 255, 255, 0.92);
}

.service-poc-case h3 {
  margin: 0.5rem 0 0;
  font-size: 1.16rem;
  line-height: 1.3;
  color: #1f2634;
}

.service-poc-case h3 a {
  color: inherit;
  text-decoration: none;
}

.service-poc-case h3 a:hover {
  color: #d05869;
}

.service-poc-case p {
  margin: 0.7rem 0 0;
  color: #5d6b7e;
  font-size: 0.96rem;
  line-height: 1.76;
}

.service-faq-list {
  margin-top: 2rem;
  display: grid;
  gap: 0.9rem;
  max-width: 980px;
}

.service-faq-item {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #ffffff;
  overflow: hidden;
}

.service-faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 1.15rem 3.3rem 1.15rem 1.2rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}

.service-faq-item summary::-webkit-details-marker {
  display: none;
}

.service-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.05rem;
  top: 50%;
  width: 1.8rem;
  height: 1.8rem;
  margin-top: -0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(36, 83, 169, 0.08);
  color: #2453a9;
  font-size: 1.15rem;
  font-weight: 700;
}

.service-faq-item[open] summary::after {
  content: "–";
}

.service-faq-item p {
  margin: 0;
  padding: 0 1.2rem 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.78;
  max-width: 78ch;
}

.service-cta-panel {
  padding: clamp(1.4rem, 2.8vw, 2.2rem);
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(36, 83, 169, 0.08), transparent 55%),
    linear-gradient(180deg, #ffffff, #f7f8fc);
  box-shadow: 0 24px 44px -40px rgba(26, 36, 54, 0.4);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 1.25rem;
  align-items: center;
}

.service-cta-panel h2 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.service-cta-panel p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  line-height: 1.78;
  max-width: 65ch;
}

.service-cta-panel .service-actions {
  margin-top: 0;
  justify-content: flex-end;
}

/* Service SEO section */

.service-seo-section { background: #f4f5f7; }

.service-start-list {
  margin-top: 2rem;
  display: grid;
  gap: 0.8rem;
}

.service-start-item {
  border: 1px solid rgba(218, 223, 230, 0.78);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.service-start-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.2rem;
  color: #1f2634;
  font-size: 1rem;
  font-weight: 700;
}

.service-start-item summary::-webkit-details-marker {
  display: none;
}

.service-start-item[open] summary {
  border-bottom: 1px solid rgba(218, 223, 230, 0.7);
}

.service-start-item p {
  margin: 0;
  padding: 0.95rem 1.2rem 1.15rem;
  color: #5d6b7e;
  font-size: 0.96rem;
  line-height: 1.74;
}

/* FAQ section */

.service-faq-section { background: #ffffff; }

.service-faq-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.service-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.service-faq-list dt {
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.service-faq-list dd {
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--muted);
  margin: 0;
}

/* Contact page */

body.contact-page {
  background: var(--page-top-background);
}

.contact-main {
  padding-top: 6.4rem;
}

.contact-hero,
.contact-section {
  padding: 0 0 2rem;
}

.contact-hero-grid,
.contact-layout {
  display: grid;
  gap: 1.2rem;
}

.contact-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: stretch;
}

.contact-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: start;
}

.contact-hero-copy,
.contact-hero-media,
.contact-direct-card,
.contact-form-panel,
.contact-side-card {
  border: 1px solid rgba(218, 223, 230, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 249, 251, 0.92)),
    #ffffff;
  box-shadow: 0 24px 44px -38px rgba(27, 36, 52, 0.34);
}

.contact-hero-copy,
.contact-form-panel,
.contact-side-card {
  border-radius: 34px;
  padding: clamp(1.35rem, 3vw, 2.3rem);
}

.contact-title,
.contact-panel-head h2,
.contact-side-card h2 {
  margin: 0.72rem 0 0;
  color: #20242d;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.contact-panel-head h2,
.contact-side-card h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
}

.contact-lead,
.contact-panel-head p:last-child,
.contact-side-card p {
  margin: 1rem 0 0;
  color: #586679;
  font-size: 1.02rem;
  line-height: 1.8;
}

.contact-actions {
  margin-top: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.contact-mini-stats,
.contact-direct-grid,
.contact-side-stack,
.contact-topic-list {
  display: grid;
}

.contact-mini-stats {
  margin-top: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.contact-mini-stat {
  padding: 0.95rem 1rem;
  border-radius: 22px;
  background: rgba(245, 245, 247, 0.78);
  border: 1px solid rgba(226, 231, 238, 0.95);
}

.contact-mini-stat strong {
  display: block;
  color: #1f2430;
  font-size: 1.2rem;
  line-height: 1.1;
}

.contact-mini-stat span {
  display: block;
  margin-top: 0.35rem;
  color: #647184;
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-hero-side,
.contact-side-stack {
  display: grid;
  gap: 1rem;
}

.contact-hero-media {
  margin: 0;
  overflow: hidden;
  border-radius: 34px;
}

.contact-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
}

.contact-direct-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.contact-direct-card {
  border-radius: 26px;
  padding: 1.15rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.contact-direct-card:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 74, 111, 0.35);
  box-shadow: 0 22px 40px -34px rgba(26, 36, 54, 0.44);
}

.contact-direct-card span {
  display: block;
  color: #d05869;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-direct-card strong {
  display: block;
  margin-top: 0.55rem;
  color: #1f2634;
  font-size: 1.02rem;
  line-height: 1.35;
}

.contact-direct-card p {
  margin: 0.65rem 0 0;
  color: #5d6b7e;
  font-size: 0.92rem;
  line-height: 1.68;
}

.contact-panel-head {
  margin-bottom: 1.15rem;
}

.contact-topic-list {
  margin: 1.05rem 0 0;
  padding: 0;
  list-style: none;
  gap: 0.75rem;
}

.contact-topic-list li {
  padding: 0.9rem 1rem;
  border-radius: 20px;
  background: rgba(245, 245, 247, 0.78);
  border: 1px solid rgba(226, 231, 238, 0.95);
  color: #334052;
  line-height: 1.55;
}

.contact-side-card-soft {
  background:
    radial-gradient(circle at top right, rgba(218, 95, 111, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 246, 248, 0.95));
}

/* Forms */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.2rem 2.2rem;
  align-items: start;
}

.contact-card {
  padding: 1.35rem 1.25rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.contact-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.35;
}

.contact-card p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.78;
  max-width: 70ch;
}

.contact-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.contact-list a {
  color: inherit;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  font-weight: 800;
  color: var(--text);
  font-size: 0.92rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(224, 228, 234, 0.9);
  border-radius: 14px;
  padding: 0.78rem 0.9rem;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(36, 83, 169, 0.45);
  box-shadow: 0 0 0 4px rgba(36, 83, 169, 0.12);
}

.form-actions {
  margin-top: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.form-status {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

.form-status.is-error {
  color: #a7233c;
}

.form-status.is-success {
  color: #1d6b3b;
}

@media (max-width: 1040px) {
  .service-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-two-col {
    grid-template-columns: 1fr;
  }

  .service-two-col > :last-child {
    padding-top: 0;
  }

  .contact-hero-grid,
  .contact-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-direct-grid {
    grid-template-columns: 1fr;
  }

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

  .service-poc-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .service-top {
    padding: 6.35rem 0 2.9rem;
  }

  .contact-main {
    padding-top: 5.9rem;
  }

  .contact-title {
    font-size: clamp(2.2rem, 10vw, 3.35rem);
  }

  .contact-mini-stats {
    grid-template-columns: 1fr;
  }

  .service-title {
    max-width: none;
    font-size: clamp(2.05rem, 8.5vw, 3rem);
  }

  .service-steps,
  .service-link-grid,
  .service-specific-grid {
    grid-template-columns: 1fr;
  }

  .service-poc-figure figcaption,
  .service-poc-case {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .service-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .service-cta-panel {
    grid-template-columns: 1fr;
  }

  .service-cta-panel .service-actions {
    justify-content: flex-start;
  }

  .service-seo-cols {
    grid-template-columns: 1fr;
  }

  .service-faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Refinements toward the original Appfrilans structure */

.home-hero-grid-plain {
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 2.8rem;
  align-items: center;
}

.home-hero-copy-plain,
.home-about-copy-plain,
.home-service-column,
.home-process-step {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-portrait-plain,
.home-about-media-plain {
  border: 0;
  box-shadow: none;
}

.home-portrait-plain img {
  min-height: 0;
  height: clamp(380px, 45vw, 560px);
}

.home-actions-compact {
  align-items: center;
}

.home-calendly-note {
  color: #6d7788;
  font-size: 0.94rem;
  line-height: 1.5;
}

.home-stats-plain {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2rem;
}

.home-stats-plain .home-stat {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-stats-plain .home-stat + .home-stat {
  padding-left: 1.4rem;
  border-left: 2px solid rgba(209, 78, 99, 0.28);
}

.home-logo-cloud,
.service-logo-cloud {
  padding: 3rem 0;
  border-top: 1px solid rgba(218, 223, 230, 0.7);
  border-bottom: 1px solid rgba(218, 223, 230, 0.7);
  background: rgba(248, 249, 252, 0.6);
}

.home-logo-cloud .section-inner,
.service-logo-cloud .section-inner {
  display: grid;
  gap: 1rem;
}

.logos-row-plain {
  display: flex;
  flex-wrap: nowrap;
  gap: 0 2.2rem;
  align-items: center;
  justify-content: center;
}

.logos-row-plain img {
  height: 36px;
  width: auto;
  max-width: 140px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
  filter: grayscale(0.3) opacity(0.8);
  transition: filter 0.2s ease;
}

.logos-row-plain img:hover {
  filter: grayscale(0) opacity(1);
}

.home-expertise-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: 2.4rem;
  align-items: start;
}

.home-expertise-intro h2,
.portfolio-index-head-simple h1 {
  margin: 0.72rem 0 0;
  color: #20242d;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.home-expertise-lines {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 2rem;
}

.home-expertise-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.9rem;
  border-top: 2px solid rgba(209, 78, 99, 0.18);
}

.exp-stat {
  font-size: 1.9rem;
  font-weight: 800;
  color: #d14e63;
  line-height: 1;
  letter-spacing: -0.03em;
}

.exp-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #586679;
  line-height: 1.4;
}

.home-expertise-copy p {
  margin: 0;
  color: #586679;
  font-size: 1.02rem;
  line-height: 1.82;
}

.home-inline-skills {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.8rem;
  color: #334052;
  font-size: 0.95rem;
  line-height: 1.65;
}

.home-inline-skills li {
  position: relative;
  padding-left: 1.1rem;
}

.home-inline-skills li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: #d14e63;
}

.home-capabilities {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
}

.home-capabilities span {
  position: relative;
  padding-left: 1rem;
  color: #334052;
  font-size: 0.94rem;
  line-height: 1.6;
}

.home-capabilities span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 999px;
  background: #d45d6d;
}

.home-service-columns,
.home-process-columns {
  display: grid;
  gap: 2rem;
}

.home-service-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-process-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-service-column {
  display: block;
  padding-top: 1rem;
  border-top: 1px solid rgba(214, 219, 227, 0.95);
  text-decoration: none;
  color: inherit;
}

.home-service-column h3,
.home-process-step h3 {
  margin: 0;
  color: #1f2634;
  font-size: 1.16rem;
  line-height: 1.38;
}

.home-service-column p,
.home-process-step p,
.portfolio-index-head-simple p:last-child {
  margin: 0.85rem 0 0;
  color: #5d6b7e;
  font-size: 0.97rem;
  line-height: 1.8;
}

.home-service-column:hover h3 {
  color: #d05869;
}

.process-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: #d14e63;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.home-process-cta {
  margin-top: 1.35rem;
}

.home-about-grid-plain {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 2rem;
  align-items: center;
}

.home-projects-section .home-section-head {
  max-width: 56rem;
}

.home-projects-section .home-section-head p:last-child {
  margin-bottom: 0.5rem;
}

.home-project-strip {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.home-project-shot {
  display: block;
  text-decoration: none;
}

.home-project-shot img {
  width: 100%;
  height: 250px;
  border-radius: 28px;
  object-fit: cover;
  display: block;
  box-shadow: 0 22px 40px -30px rgba(26, 36, 54, 0.42);
}

.home-project-shot-1,
.home-project-shot-5 {
  transform: translateY(20px);
}

.home-project-shot-2,
.home-project-shot-4 {
  transform: translateY(-12px);
}

.home-project-shot-3 {
  transform: translateY(8px);
}

.service-top {
  padding-bottom: 2.4rem;
}

.service-gallery-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 1.4rem;
}

.service-gallery-item {
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-gallery-media {
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  background: #eef1f5;
}

.service-gallery-media img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.service-gallery-label {
  display: block;
  margin-top: 1rem;
  color: #6c7789;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.service-gallery-item strong {
  display: block;
  margin-top: 0.45rem;
  color: #1f2634;
  font-size: 1.18rem;
  line-height: 1.35;
}

.service-gallery-item p {
  margin: 0.65rem 0 0;
  color: #5d6b7e;
  font-size: 0.96rem;
  line-height: 1.75;
}

.service-gallery-item:hover strong {
  color: #d05869;
}

.service-overview-list {
  margin-top: 2.5rem;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(218, 223, 230, 0.8);
}

.service-overview-row {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 1.4rem 1.6rem;
  align-items: start;
  padding: 1.55rem 0;
  border-bottom: 1px solid rgba(218, 223, 230, 0.8);
  text-decoration: none;
  color: inherit;
}

.service-overview-row:hover {
  background: transparent;
}

.service-overview-media {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #eef1f5;
}

.service-overview-media img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.service-overview-copy {
  min-width: 0;
}

.service-overview-copy .service-gallery-label,
.service-specific-card .service-gallery-label {
  margin-top: 0;
}

.service-overview-copy strong {
  display: block;
  margin-top: 0.45rem;
  color: #1f2634;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  line-height: 1.3;
}

.service-overview-row:hover .service-overview-copy strong {
  color: #d05869;
}

.service-overview-copy p {
  margin: 0.72rem 0 0;
  color: #5d6b7e;
  font-size: 0.98rem;
  line-height: 1.78;
}

.service-overview-points {
  margin: 0.95rem 0 0;
  padding-left: 1.15rem;
  color: #3c495b;
}

.service-overview-points li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.service-specific-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.service-specific-card {
  padding: 1.45rem 1.45rem 1.35rem;
  border-radius: 24px;
  border: 1px solid rgba(218, 223, 230, 0.78);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
  box-shadow: 0 18px 40px rgba(31, 38, 52, 0.05);
}

.service-specific-card h3 {
  margin: 0.45rem 0 0;
  color: #1f2634;
  font-size: 1.22rem;
  line-height: 1.3;
}

.service-specific-card p {
  margin: 0.8rem 0 0;
  color: #5d6b7e;
  font-size: 0.97rem;
  line-height: 1.78;
}

.service-specific-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  color: #d05869;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

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

.service-link-card {
  padding: 1rem 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.service-link-card:hover {
  transform: none;
  border-color: rgba(216, 74, 111, 0.3);
}

.portfolio-index-intro {
  padding: 7rem 0 1rem;
}

.portfolio-index-head-simple {
  max-width: 64rem;
}

.portfolio-grid-item {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.portfolio-grid-item:hover {
  transform: none;
}

.portfolio-thumb {
  border-radius: 28px;
}

.portfolio-title {
  margin-top: 1rem;
}

@media (max-width: 1040px) {
  .home-hero-grid-plain,
  .home-expertise-layout,
  .home-about-grid-plain {
    grid-template-columns: 1fr;
  }

  .home-service-columns,
  .home-process-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .service-overview-row {
    grid-template-columns: 220px minmax(0, 1fr);
  }

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

  .logos-row-plain {
    gap: 1rem 1.8rem;
  }
}

@media (max-width: 720px) {
  .home-stats-plain {
    gap: 1rem 1.4rem;
  }

  .home-inline-skills {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .service-gallery-grid,
  .home-project-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logos-row-plain {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1.1rem;
    justify-items: center;
  }

  .logos-row-plain img {
    height: 32px;
    max-width: min(100%, 128px);
  }

  .service-gallery-media img {
    height: 200px;
  }

  .home-primary-light {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .service-overview-row {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .service-overview-media img {
    height: 210px;
  }

  .home-project-shot,
  .home-project-shot-1,
  .home-project-shot-2,
  .home-project-shot-3,
  .home-project-shot-4,
  .home-project-shot-5 {
    transform: none;
  }

  .home-project-shot img {
    height: 220px;
  }
}

@media (max-width: 580px) {
  .logos-row-plain {
    grid-template-columns: 1fr;
  }

  .home-stats-plain {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .home-stats-plain .home-stat + .home-stat {
    padding-left: 0;
    border-left: 0;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(209, 78, 99, 0.18);
  }
}

/* Section background variants */

.home-process-section {
  background:
    radial-gradient(circle at bottom right, rgba(218, 95, 111, 0.05), transparent 35%),
    linear-gradient(180deg, #f4f5f7 0%, #eff0f4 100%);
  border-top: 1px solid rgba(218, 223, 230, 0.7);
  border-bottom: 1px solid rgba(218, 223, 230, 0.7);
  padding: 4rem 0 3.5rem;
}

.home-expertise-section {
  background: #ffffff;
  border-bottom: 1px solid rgba(218, 223, 230, 0.6);
  padding-bottom: 3rem;
}

.home-projects-section {
  background: #ffffff;
}

.home-hero {
  padding: 0 0 3rem;
}

/* ===== COMPREHENSIVE DESIGN IMPROVEMENTS ===== */

/* Typography */
.home-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.08;
  max-width: 18ch;
  letter-spacing: -0.03em;
}

.home-lead {
  margin: 1.5rem 0 0;
  font-size: 1.12rem;
  line-height: 1.88;
  color: #4c5a6e;
  max-width: 50ch;
}

/* Hero - flat, generous, airy */
.home-hero {
  padding: 1.5rem 0 5rem;
}

.home-hero-grid-plain {
  gap: 4.5rem;
  align-items: center;
}

/* Portrait in flat mode - remove white card bg, keep shape */
.home-portrait-plain,
.home-about-media-plain {
  background: transparent;
}

.home-portrait-plain img {
  height: clamp(480px, 54vw, 680px);
  min-height: 0;
  border-radius: 32px;
}

/* Stats in flat mode - clean big numbers */
.home-stats-plain {
  margin-top: 2.5rem;
  gap: 0.25rem 3.5rem;
}

.home-stats-plain .home-stat strong {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.home-stats-plain .home-stat span {
  margin-top: 0.3rem;
  font-size: 0.88rem;
  color: #6b7a8e;
  line-height: 1.45;
}

/* Actions alignment */
.home-actions-compact {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.8rem;
  width: fit-content;
}

.home-calendly-note {
  font-size: 0.84rem;
  color: #8a96a8;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  gap: 0.35rem;
}

/* About - flat, big image */
.home-about-grid-plain {
  gap: 4.5rem;
  align-items: center;
}

.home-about-media-plain img {
  height: clamp(440px, 50vw, 640px);
  min-height: 0;
  border-radius: 32px;
}

/* Section spacing - much more air */
.home-section {
  padding: 5.5rem 0;
}

.home-expertise-section {
  padding: 5.5rem 0;
  border-bottom: 1px solid rgba(218, 223, 230, 0.55);
  background: #fafbfc;
}

.home-projects-section {
  padding: 5.5rem 0 4rem;
  background: transparent;
}

.home-process-section {
  padding: 5.5rem 0 5rem;
}

.home-appmost-band {
  padding: 2rem 0 5.5rem;
}

/* Logo cloud - clean */
.home-logo-cloud {
  padding: 4.5rem 0;
}

/* Service columns - more gap */
.home-service-columns {
  margin-top: 2.5rem;
  gap: 3rem;
}

/* Process columns - more gap */
.home-process-columns {
  margin-top: 3rem;
  gap: 3.5rem;
}

/* Process section CTA */
.home-process-cta {
  margin-top: 3rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
}

/* Section head spacing */
.home-section-head {
  margin-bottom: 0;
}

/* Expertise layout - better gap */
.home-expertise-layout {
  gap: 4rem;
}

/* ===== BLOG PAGE ===== */

body.blog-page {
  background: var(--page-top-background);
}

.blog-main {
  padding-top: 6.4rem;
}

.blog-intro {
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid rgba(218, 223, 230, 0.55);
}

.blog-title {
  margin: 0.6rem 0 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: #20242d;
}

.blog-lead {
  margin: 1.4rem 0 0;
  max-width: 56ch;
  font-size: 1.08rem;
  line-height: 1.85;
  color: #586679;
}

.blog-list-section {
  padding: 4.5rem 0 6rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem 1.8rem;
}

.blog-post-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.blog-post-media {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #eef1f5;
  aspect-ratio: 16/10;
}

.blog-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-post-link:hover .blog-post-media img {
  transform: scale(1.04);
}

.blog-post-body {
  margin-top: 1.1rem;
}

.blog-post-date {
  display: block;
  color: #d14e63;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.blog-post-title {
  margin: 0;
  color: #1f2634;
  font-size: 1.14rem;
  line-height: 1.35;
  font-weight: 800;
  transition: color 0.2s;
}

.blog-post-link:hover .blog-post-title {
  color: #d14e63;
}

.blog-post-excerpt {
  margin: 0.6rem 0 0;
  color: #5d6b7e;
  font-size: 0.95rem;
  line-height: 1.72;
}

.blog-post-no-image .blog-post-link {
  height: 100%;
}

.blog-post-no-image .blog-post-body {
  margin-top: 0;
  padding: 2rem;
  background: rgba(248, 249, 252, 0.92);
  border: 1px solid rgba(218, 223, 230, 0.85);
  border-radius: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 200px;
}

@media (max-width: 920px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 1.4rem;
  }
}

@media (max-width: 580px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .blog-title {
    font-size: clamp(2.6rem, 10vw, 3.8rem);
  }

  .blog-intro {
    padding: 3rem 0 2.5rem;
  }
}

@media (max-width: 1040px) {
  .home-hero-grid-plain {
    gap: 2.5rem;
  }

  .home-about-grid-plain {
    gap: 2.5rem;
  }
}

@media (max-width: 860px) {
  .home-hero {
    padding: 1rem 0 3.5rem;
  }

  .home-section {
    padding: 4rem 0;
  }

  .home-expertise-section,
  .home-projects-section,
  .home-process-section {
    padding: 4rem 0;
  }

  .home-stats-plain {
    gap: 0.25rem 2.5rem;
  }
}

@media (max-width: 720px) {
  .home-portrait-plain img {
    height: clamp(320px, 70vw, 460px);
  }

  .home-about-media-plain img {
    height: clamp(300px, 65vw, 440px);
  }

  .home-service-columns,
  .home-process-columns {
    gap: 2.5rem;
  }
}

/* ===== ABOUT PAGE ===== */

body.about-page {
  background: var(--page-top-background);
}

.about-main {
  padding-top: 5.5rem;
}

.about-hero {
  padding: 3.5rem 0 4rem;
  border-bottom: 1px solid rgba(218, 223, 230, 0.55);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 480px);
  gap: 4rem;
  align-items: center;
}

.about-title {
  margin: 0.5rem 0 0;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #1f2634;
}

.about-lead {
  margin: 1.2rem 0 0;
  font-size: 1.08rem;
  line-height: 1.82;
  color: #4c5a6e;
  max-width: 52ch;
}

.about-hero-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.about-hero-media {
  margin: 0;
  width: 70%;
  justify-self: end;
}

.about-hero-media img {
  width: 100%;
  border-radius: 24px;
  display: block;
  object-fit: cover;
}

.about-section {
  padding: 5rem 0;
  border-bottom: 1px solid rgba(218, 223, 230, 0.45);
}

.about-section-alt {
  background: #fafbfc;
}

.about-section-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 3rem 5rem;
  align-items: start;
}

.about-section-label {
  padding-top: 0.5rem;
}

.about-section-body h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1f2634;
}

.about-section-body p {
  margin: 0 0 1.2rem;
  font-size: 1.02rem;
  line-height: 1.85;
  color: #3a4557;
}

.about-section-body p:last-child {
  margin-bottom: 0;
}

.about-cta-section {
  padding: 5rem 0 6rem;
  text-align: center;
}

.about-cta-section h2 {
  margin: 0.6rem 0 0;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
  color: #1f2634;
}

.about-cta-section p {
  margin: 1rem 0 0;
  color: #586679;
  font-size: 1.02rem;
}

.about-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

@media (max-width: 860px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-hero-media {
    width: 100%;
    justify-self: stretch;
  }

  .about-section-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-section-label {
    padding-top: 0;
  }
}

/* ===== BLOG FEATURED POST ===== */

.blog-content {
  padding: 4rem 0 6rem;
}

.blog-featured {
  margin-bottom: 4rem;
}

.blog-featured-link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(218, 223, 230, 0.7);
}

.blog-featured-media {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #eef1f5;
  aspect-ratio: 16/10;
}

.blog-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-featured-link:hover .blog-featured-media img {
  transform: scale(1.03);
}

.blog-featured-body {
  padding: 1rem 0;
}

.blog-featured-title {
  margin: 0.5rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.2;
  font-weight: 800;
  color: #1f2634;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.blog-featured-link:hover .blog-featured-title {
  color: #d14e63;
}

.blog-featured-excerpt {
  margin: 1rem 0 0;
  color: #5d6b7e;
  font-size: 1.04rem;
  line-height: 1.78;
}

.blog-read-more {
  display: inline-block;
  margin-top: 1.4rem;
  color: #d14e63;
  font-size: 0.92rem;
  font-weight: 700;
}

.blog-grid {
  margin-top: 3.5rem;
}

/* ===== PORTFOLIO GRID ITEM ===== */

.portfolio-grid-item {
  padding: 0 0.6rem 1.1rem;
  border-radius: 20px;
  transition: none;
}

.portfolio-grid-item:hover {
  background: transparent;
  transform: none;
  box-shadow: none;
}

.portfolio-thumb {
  border-radius: 20px;
}

.portfolio-thumb img {
  height: 100%;
}

/* ===== SERVICE SECTION SPACING ===== */

#tjanster .home-section-head {
  margin-bottom: 2.5rem;
}

/* ===== CALENDLY BADGE ===== */

.calendly-badge {
  margin: 0.85rem 0 0;
  font-size: 0.83rem;
  color: #8a96a8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.calendly-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ===== APPMOST BAND MOBILE ===== */

@media (max-width: 720px) {
  .home-appmost-band-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-featured-link {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-featured-title {
    font-size: 1.5rem;
  }
}

/* ===== BLOG POST PAGE ===== */

.blog-post-page {
  padding-top: 7rem;
  padding-bottom: 6rem;
}

.blog-post-page-inner {
  max-width: 80rem;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(18rem, 0.88fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid rgba(150, 171, 196, 0.24);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 253, 0.9) 100%);
  box-shadow:
    0 28px 80px rgba(31, 38, 52, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
}

.blog-post-header {
  padding: clamp(0.5rem, 1vw, 0.85rem);
  align-self: center;
}

.blog-post-page-title {
  margin: 1rem 0 0;
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #1f2634;
}

.blog-post-lead {
  margin: 1.35rem 0 0;
  max-width: 36rem;
  font-size: clamp(1.06rem, 2vw, 1.18rem);
  line-height: 1.85;
  color: #526177;
}

.blog-post-hero {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(95, 122, 150, 0.18);
  background:
    radial-gradient(circle at top left, rgba(92, 187, 213, 0.16), transparent 38%),
    linear-gradient(145deg, #f2f7fb 0%, #dfe9f4 100%);
  box-shadow: 0 24px 60px rgba(28, 44, 67, 0.18);
}

.blog-post-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(180deg, rgba(13, 23, 40, 0) 0%, rgba(13, 23, 40, 0.16) 100%);
  pointer-events: none;
}

.blog-post-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-post-content p {
  margin: 0 0 1.4rem;
  font-size: 1.04rem;
  line-height: 1.9;
  color: #334154;
}

.blog-post-content p:last-child {
  margin-bottom: 0;
}

.blog-post-content {
  grid-column: 1 / -1;
  padding: 0 clamp(0.5rem, 1vw, 0.85rem) clamp(0.25rem, 1vw, 0.5rem);
}

.blog-post-content > * {
  max-width: 47rem;
}

.blog-post-content h2,
.blog-post-content h3 {
  max-width: 47rem;
  margin: 2.6rem 0 1rem;
  color: #1f2634;
  letter-spacing: -0.03em;
}

.blog-post-content h2 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.12;
}

.blog-post-content h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.2;
}

.blog-post-content ul,
.blog-post-content ol {
  max-width: 47rem;
  margin: 0 0 1.7rem;
  padding-left: 1.3rem;
  color: #334154;
}

.blog-post-content li {
  margin-bottom: 0.8rem;
  line-height: 1.78;
}

.blog-post-content blockquote {
  max-width: 44rem;
  margin: 2rem 0;
  padding: 1.35rem 1.45rem;
  border: 1px solid rgba(209, 78, 99, 0.18);
  border-left: 4px solid #d14e63;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 248, 249, 0.95) 0%, rgba(251, 242, 245, 0.85) 100%);
  box-shadow: 0 16px 36px rgba(209, 78, 99, 0.09);
}

.blog-post-content blockquote p {
  margin: 0;
  font-size: 1rem;
  color: #2f3b4d;
}

.blog-post-content a {
  color: #d14e63;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.14em;
}

.blog-post-footer {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(218, 223, 230, 0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.blog-post-author {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(150, 171, 196, 0.24);
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  color: #5a6b80;
}

body.blog-page {
  background: var(--page-top-background);
}

.blog-main {
  position: relative;
}

.blog-post-header .blog-post-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(150, 171, 196, 0.22);
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7a8e;
}

.blog-page-no-hero .blog-post-page-inner {
  max-width: 72rem;
  grid-template-columns: minmax(0, 1fr);
}

.blog-page-no-hero .blog-post-header,
.blog-page-no-hero .blog-post-content,
.blog-page-no-hero .blog-post-footer {
  grid-column: 1;
}

@media (max-width: 900px) {
  .blog-post-page {
    padding-top: 6.2rem;
    padding-bottom: 4.5rem;
  }

  .blog-post-page-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
    border-radius: 28px;
  }

  .blog-post-page-title {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
  }

  .blog-post-lead {
    max-width: none;
  }

  .blog-post-hero {
    min-height: 0;
  }

  .blog-post-hero img {
    height: auto;
  }

  .blog-post-content {
    padding: 0 0.2rem;
  }

  .blog-post-content > *,
  .blog-post-content h2,
  .blog-post-content h3,
  .blog-post-content ul,
  .blog-post-content ol,
  .blog-post-content blockquote {
    max-width: none;
  }
}

/* ===== CONTACT PAGE (REDESIGN) ===== */

.contact-main-new {
  padding-top: 5.5rem;
}

.contact-intro {
  padding: 4rem 0 4rem;
  border-bottom: 1px solid rgba(218, 223, 230, 0.55);
}

.contact-new-title {
  margin: 0.5rem 0 0;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #1f2634;
}

.contact-new-lead {
  margin: 1.1rem 0 0;
  font-size: 1.08rem;
  line-height: 1.82;
  color: #4c5a6e;
  max-width: 52ch;
}

.contact-reach {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 3rem;
  margin-top: 2.2rem;
}

.contact-reach-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.contact-reach-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d14e63;
  margin-bottom: 0.2rem;
}

.contact-reach-value {
  font-size: 1rem;
  font-weight: 600;
  color: #20242d;
}

a.contact-reach-item:hover .contact-reach-value {
  color: #d14e63;
}

.contact-intro-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

.contact-form-section {
  padding: 5rem 0 6rem;
}

.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 5rem;
  align-items: start;
}

.contact-form-heading {
  margin: 0.5rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1f2634;
}

.contact-form-sub {
  margin: 0.9rem 0 0;
  font-size: 0.97rem;
  line-height: 1.75;
  color: #586679;
}

.contact-form-new {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-field-new {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field-new label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #3a4557;
}

.form-field-new input,
.form-field-new textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(200, 208, 220, 0.9);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: #20242d;
  background: #ffffff;
  transition: border-color 0.18s;
  outline: none;
}

.form-field-new input:focus,
.form-field-new textarea:focus {
  border-color: #d14e63;
}

.form-field-new textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form-submit {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.form-note-new {
  margin: 0;
  font-size: 0.88rem;
  color: #8a96a8;
}

.form-note-new a {
  color: #d14e63;
  text-decoration: none;
}

.form-status {
  font-size: 0.92rem;
  min-height: 1.4em;
}

.contact-topics {
  margin-bottom: 3rem;
}

.contact-topics-inline {
  margin: 1.6rem 0 0;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(218, 223, 230, 0.75);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.contact-topics-heading {
  margin: 0 0 0.9rem;
  font-size: 1.02rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #1f2634;
}

.contact-topic-list-new {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-topic-list-new li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(218, 223, 230, 0.7);
  font-size: 0.97rem;
  color: #3a4557;
}

.contact-topic-list-new li:first-child {
  border-top: 1px solid rgba(218, 223, 230, 0.7);
}

.contact-topics-inline .contact-topic-list-new li {
  padding: 0.72rem 0;
  font-size: 0.94rem;
}

.contact-process {
  margin-top: 0;
}

.contact-process .section-kicker {
  margin-bottom: 0.6rem;
}

.contact-process-text {
  margin: 0.6rem 0 1.4rem;
  font-size: 0.97rem;
  line-height: 1.78;
  color: #586679;
}

@media (max-width: 860px) {
  .contact-form-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-reach {
    gap: 1rem 2rem;
  }
}

/* ===== SERVICE TECH PILLS ===== */

.service-tech-tags {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.service-tech-tag {
  display: inline-block;
  padding: 0.22rem 0.65rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #d14e63;
  background: rgba(209, 78, 99, 0.07);
  border: 1px solid rgba(209, 78, 99, 0.18);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* ===== SERVICE TESTIMONIALS ===== */

.service-testimonials-section {
  background: rgba(248, 245, 246, 0.6);
  border-top: 1px solid rgba(218, 223, 230, 0.5);
  border-bottom: 1px solid rgba(218, 223, 230, 0.5);
}

.service-testimonials-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-testimonial {
  margin: 0;
  padding: 1.6rem 1.8rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(218, 223, 230, 0.7);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.service-testimonial::before {
  content: '\201C';
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(209, 78, 99, 0.25);
  font-family: Georgia, serif;
  margin-bottom: -0.5rem;
}

.service-testimonial-quote {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.75;
  color: #3a4455;
  flex: 1;
}

.service-testimonial-footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.service-testimonial-footer strong {
  font-size: 0.9rem;
  color: #1f2634;
}

.service-testimonial-footer span {
  font-size: 0.82rem;
  color: #8a96a8;
}

@media (max-width: 860px) {
  .service-testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CONTACT OFFICE PHOTO + MAP ===== */

.contact-office {
  margin-bottom: 2.5rem;
}

.contact-office-photo {
  margin: 0 0 0.75rem;
  border-radius: 18px;
  overflow: hidden;
}

.contact-office-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.contact-office-map {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
}

.contact-office-map iframe {
  width: 100%;
  height: 180px;
  border: 0;
  display: block;
  pointer-events: none;
}
