/* ArhiGarden Design */
:root {
  --color-bg: #f7f4ef;
  --color-bg-dark: #1c2c26;
  --color-surface: #ffffff;
  --color-text: #2a332f;
  --color-text-muted: #5c6862;
  --color-accent: #3d5c4a;
  --color-accent-light: #5a7d6a;
  --color-gold: #b8956a;
  --color-gold-soft: #d4c4a8;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --radius: 2px;
  --shadow: 0 24px 48px rgba(28, 44, 38, 0.08);
  --max-width: 1200px;
  /* Process step cards — outlined panels */
  --process-step-border: 2px solid rgba(42, 51, 47, 0.14);
  --process-step-badge-bg: #1c2c26;
  --process-step-badge-color: #f7f4ef;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-light);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28, 44, 38, 0.06);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.site-header__cluster {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}

.lang-switch__btn {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.5rem;
  border: 1px solid rgba(28, 44, 38, 0.22);
  background: transparent;
  color: var(--color-bg-dark);
  cursor: pointer;
  border-radius: var(--radius);
  line-height: 1;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.lang-switch__btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.lang-switch__btn.is-active {
  background: var(--color-bg-dark);
  color: var(--color-bg);
  border-color: var(--color-bg-dark);
}

.lang-switch__btn.is-active:hover {
  color: var(--color-bg);
  border-color: var(--color-bg-dark);
  background: var(--color-accent);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-bg-dark);
}

.logo span {
  font-weight: 400;
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: var(--space-xs);
  cursor: pointer;
  color: var(--color-bg-dark);
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
  align-items: center;
}

.nav-list a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
}

.nav-list a:hover {
  color: var(--color-accent);
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn--primary {
  background: var(--color-bg-dark);
  color: var(--color-bg);
}

.btn--primary:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

.btn--outline {
  background: transparent;
  color: var(--color-bg-dark);
  border: 1px solid var(--color-bg-dark);
}

.btn--outline:hover {
  background: var(--color-bg-dark);
  color: var(--color-bg);
}

.btn--light {
  background: var(--color-bg);
  color: var(--color-bg-dark);
}

.btn--light:hover {
  background: var(--color-gold-soft);
}

/* Sections */
main {
  padding-top: 72px;
}

.section {
  padding: var(--space-2xl) var(--space-md);
}

.section--flush-top {
  padding-top: 0;
}

.section--dark {
  background: var(--color-bg-dark);
  color: #e8e4dc;
}

#portfolio {
  overflow-x: hidden;
}

.section--dark .eyebrow,
.section--dark h2,
.section--dark h3 {
  color: #f7f4ef;
}

.section--dark .section__lead,
.section--dark p {
  color: rgba(232, 228, 220, 0.85);
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0 0 var(--space-sm);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 var(--space-md);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
}

.section__lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 36rem;
  margin-bottom: var(--space-lg);
}

.text-center {
  text-align: center;
}

.text-center .section__lead {
  margin-left: auto;
  margin-right: auto;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  background: var(--color-bg-dark) center / cover no-repeat;
  color: #f7f4ef;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 44, 38, 0.45) 0%,
    rgba(28, 44, 38, 0.75) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 52rem;
}

.hero .eyebrow {
  color: var(--color-gold-soft);
}

.hero h1 {
  color: #f7f4ef;
  margin-bottom: var(--space-md);
}

.hero__tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  opacity: 0.95;
  margin: 0 0 var(--space-lg);
}

/* Process */
.process-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: var(--space-xl);
  align-items: start;
}

.process-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--color-surface);
  padding: 0;
  border-radius: var(--radius);
  box-shadow: none;
  border: var(--process-step-border);
  overflow: hidden;
}

.process-card .process-card__step {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  display: block;
  flex-shrink: 0;
  margin: 0;
  padding: var(--space-sm) var(--space-lg);
  background: var(--process-step-badge-bg);
  color: var(--process-step-badge-color);
  border-radius: 0;
}

.process-card__media {
  margin: 0;
  background: var(--color-bg-dark);
  flex-shrink: 0;
}

.process-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.process-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
  padding: var(--space-md) var(--space-lg) var(--space-lg);
}

.process-card__title {
  margin: 0 0 var(--space-xs);
  font-size: clamp(1.45rem, 2.4vw, 1.7rem);
  font-weight: 500;
  line-height: 1.2;
}

.process-card__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  margin: 0 0 var(--space-sm);
  padding: 0.15rem 0;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: none;
  border: none;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  line-height: 1.25;
}

.process-card__toggle:hover {
  color: var(--color-accent-light);
}

.process-card__toggle:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.process-card__toggle-label--less {
  display: none;
}

.process-card__toggle[aria-expanded="true"] .process-card__toggle-label--more {
  display: none;
}

.process-card__toggle[aria-expanded="true"] .process-card__toggle-label--less {
  display: inline;
}

.process-card__details {
  padding-top: var(--space-xs);
}

.process-card__details p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  margin-top: var(--space-lg);
}

.portfolio-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-bg-dark);
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-card__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-md);
  background: linear-gradient(transparent, rgba(28, 44, 38, 0.9));
  color: #f7f4ef;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

/* Homepage portfolio: full-bleed YouTube embeds */
.portfolio-videos--fullbleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: var(--space-xl);
}

.portfolio-video {
  position: relative;
  margin: 0;
}

.portfolio-video + .portfolio-video {
  margin-top: var(--space-md);
}

@media (min-width: 768px) {
  .portfolio-video + .portfolio-video {
    margin-top: var(--space-lg);
  }
}

.portfolio-video__embed {
  position: relative;
  width: 100%;
  height: 300px;
  max-height: 300px;
  overflow: hidden;
  background: #0d1512;
}

.portfolio-video__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.portfolio-video__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: var(--space-md);
  text-align: center;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(28, 44, 38, 0.92));
}

.portfolio-video__caption a {
  pointer-events: auto;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: #f7f4ef;
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 244, 239, 0.35);
}

.portfolio-video__caption a:hover {
  color: var(--color-gold-soft);
  border-bottom-color: var(--color-gold-soft);
}

/* Feature band */
.feature-band {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.feature-band__line {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--color-gold);
  margin: 0 0 var(--space-md);
}

/* Testimonials */
.testimonials {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  margin-top: var(--space-lg);
}

.testimonial {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(247, 244, 239, 0.12);
  padding: var(--space-lg);
  border-radius: var(--radius);
}

.testimonial__name {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold-soft);
  margin-bottom: var(--space-sm);
}

.testimonial blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.5;
  color: #f0ebe3;
}

/* Blog cards */
.blog-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  margin-top: var(--space-lg);
}

.blog-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(28, 44, 38, 0.06);
  transition: transform 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__body {
  padding: var(--space-md);
}

.blog-card h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
  line-height: 1.35;
}

.blog-card a.link-arrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* CTA blocks */
.cta-block {
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
}

.cta-block--accent {
  background: linear-gradient(135deg, #2a4036 0%, var(--color-bg-dark) 100%);
  color: #e8e4dc;
}

.cta-block h2 {
  color: #f7f4ef;
}

/* Match homepage accent CTA headline scale when the page uses h1 */
.cta-block h1 {
  color: #f7f4ef;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.cta-block .section__lead {
  color: rgba(232, 228, 220, 0.85);
}

.cta-block .section__lead + .section__lead {
  margin-top: var(--space-md);
}

.cta-block:not(:has(.btn)) .section__lead:last-of-type {
  margin-bottom: 0;
}

.cta-block--page-top {
  padding-top: calc(72px + var(--space-xl));
}

/* Contact — Get in Touch (Foxterra contact-us style) */
.get-in-touch {
  background: var(--color-bg);
}

.get-in-touch__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: 400;
  color: var(--color-text);
  text-align: center;
  margin: 0 0 clamp(2.25rem, 4.5vw, 3.25rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.get-in-touch__grid {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.get-in-touch__col {
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}

.get-in-touch__col + .get-in-touch__col {
  border-top: 1px solid rgba(42, 51, 47, 0.1);
}

@media (min-width: 640px) {
  .get-in-touch__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .get-in-touch__col + .get-in-touch__col {
    border-top: none;
  }

  .get-in-touch__col:nth-child(2),
  .get-in-touch__col:nth-child(4) {
    border-left: 1px solid rgba(42, 51, 47, 0.12);
  }

  .get-in-touch__col:nth-child(3),
  .get-in-touch__col:nth-child(4) {
    border-top: 1px solid rgba(42, 51, 47, 0.1);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .get-in-touch__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .get-in-touch__col:nth-child(3),
  .get-in-touch__col:nth-child(4) {
    border-top: none;
    margin-top: 0;
    padding-top: var(--space-lg);
  }

  .get-in-touch__col:nth-child(2),
  .get-in-touch__col:nth-child(3),
  .get-in-touch__col:nth-child(4) {
    border-left: 1px solid rgba(42, 51, 47, 0.12);
  }
}

.get-in-touch__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 0 var(--space-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.get-in-touch__label-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  object-fit: contain;
  opacity: 0.92;
}

@media (min-width: 1024px) {
  .get-in-touch__label {
    justify-content: flex-start;
  }
}

.get-in-touch__value {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.55;
}

.get-in-touch__value--plain {
  color: var(--color-text);
}

.get-in-touch__value a {
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 51, 47, 0.2);
}

.get-in-touch__value a:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent-light);
}

.get-in-touch__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.0625rem;
  color: var(--color-text);
  line-height: 1.65;
}

.get-in-touch__footnotes {
  max-width: 40rem;
  margin: var(--space-xl) auto 0;
  text-align: center;
}

.get-in-touch__footnotes .form-note {
  margin: 0 0 var(--space-xs);
}

.get-in-touch__footnotes .form-note:last-child {
  margin-bottom: 0;
}

/* Connect / footer */
.connect-grid {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: var(--space-lg);
}

.connect-card {
  padding: var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid rgba(28, 44, 38, 0.08);
}

.connect-card p {
  color: var(--color-text-muted);
}

.connect-card p a {
  color: var(--color-accent);
  font-weight: 500;
  word-break: break-word;
}

.connect-card p a:hover {
  color: var(--color-accent-light);
}

.connect-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.connect-card .form-note {
  margin-top: var(--space-sm);
  margin-bottom: 0;
  font-size: 0.8125rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md) var(--space-lg);
  margin-top: var(--space-md);
}

.social-links a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  text-decoration: none;
}

.social-links a:hover {
  color: var(--color-accent-light);
}

.social-links__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: block;
}

.section__inner--narrow {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.form-group label .req {
  color: var(--color-gold);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid rgba(28, 44, 38, 0.2);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: var(--space-lg);
  line-height: 1.65;
}

.inquiry-form .btn {
  margin-top: var(--space-md);
}

.site-footer {
  background: #141f1a;
  color: rgba(232, 228, 220, 0.7);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  font-size: 0.875rem;
}

.site-footer a {
  color: var(--color-gold-soft);
}

.site-footer .logo {
  color: #f7f4ef;
  display: inline-block;
  margin-bottom: var(--space-sm);
}

/* Mobile nav */
@media (max-width: 768px) {
  .site-header__cluster {
    gap: var(--space-xs);
  }

  .lang-switch {
    order: 0;
  }

  .nav-toggle {
    display: block;
    order: 1;
  }

  .nav {
    order: 2;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid rgba(28, 44, 38, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav.is-open {
    max-height: 320px;
  }

  .nav-list {
    flex-direction: column;
    padding: var(--space-md);
    align-items: flex-start;
  }
}

/* Portfolio listing page */
.page-intro {
  padding: calc(72px + var(--space-xl)) var(--space-md) var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.page-intro h1 {
  margin-bottom: var(--space-sm);
}

.page-intro .section__lead {
  margin-left: auto;
  margin-right: auto;
}

.page-intro .section__lead + .section__lead {
  margin-top: var(--space-md);
}

/* Services page — alternating image / text rows (El Jardin–style) */
.services-rows {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md) var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

@media (min-width: 1024px) {
  .services-rows {
    padding-top: var(--space-xl);
    gap: var(--space-2xl);
  }
}

.services-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 900px) {
  .services-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(var(--space-lg), 4vw, var(--space-2xl));
  }

  .services-row--reverse .services-row__media {
    order: 2;
  }

  .services-row--reverse .services-row__body {
    order: 1;
  }
}

.services-row__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-dark);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}

.services-row__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-row__body {
  padding: var(--space-sm) 0;
}

.services-row__body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 500;
  margin: 0 0 var(--space-sm);
  line-height: 1.25;
  color: var(--color-text);
}

.services-row__body p {
  margin: 0 0 var(--space-md);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.services-row__body p:last-of-type {
  margin-bottom: 0;
}

#svc-proiectare,
#svc-implementare,
#svc-intretinere {
  scroll-margin-top: calc(72px + var(--space-md));
}

.portfolio-page-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-2xl);
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.portfolio-page-card {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-bg-dark);
  color: inherit;
  box-shadow: var(--shadow);
}

.portfolio-page-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-page-card:hover img {
  transform: scale(1.05);
}

.portfolio-page-card:hover {
  color: inherit;
}

.portfolio-page-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  background: linear-gradient(transparent 40%, rgba(28, 44, 38, 0.92) 100%);
}

.portfolio-page-card__title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: #f7f4ef;
  margin: 0 0 0.35rem;
}

.portfolio-page-card__teaser {
  font-size: 0.875rem;
  color: rgba(232, 228, 220, 0.88);
  margin: 0;
  line-height: 1.45;
}

.portfolio-page-card__arrow {
  margin-top: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-soft);
}

.services-pillars-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-xl);
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .services-pillars-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .services-pillars-grid .portfolio-page-card {
    min-height: 0;
  }
}

.section--dark .services-page-tagline__lead {
  margin-bottom: 0;
}

.services-page-quote__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.services-page-quote h2 {
  margin-bottom: 0;
}

/* Project detail */
.breadcrumbs {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(72px + var(--space-md)) var(--space-md) 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.breadcrumbs a {
  color: var(--color-accent);
}

.breadcrumbs span {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.project-hero {
  max-width: var(--max-width);
  margin: var(--space-md) auto 0;
  padding: 0 var(--space-md);
}

.project-hero__media {
  position: relative;
  aspect-ratio: 21 / 9;
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-dark) center / cover no-repeat;
  box-shadow: var(--shadow);
}

.project-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 44, 38, 0.55) 0%, transparent 55%);
  pointer-events: none;
}

.project-hero__heading {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  padding: var(--space-lg) var(--space-xl);
  max-width: min(32rem, 90%);
}

.project-hero__heading .eyebrow {
  color: var(--color-gold-soft);
  margin-bottom: var(--space-xs);
}

.project-hero__heading h1 {
  color: #f7f4ef;
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.project-hero__tagline {
  margin: var(--space-sm) 0 0;
  font-size: 1.05rem;
  color: rgba(232, 228, 220, 0.92);
  font-weight: 400;
  line-height: 1.5;
}

.project-detail {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md) var(--space-2xl);
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(28, 44, 38, 0.1);
  border-bottom: 1px solid rgba(28, 44, 38, 0.1);
  margin-bottom: var(--space-lg);
}

.project-meta dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0 0 0.25rem;
}

.project-meta dd {
  margin: 0;
  font-weight: 500;
  color: var(--color-text);
}

.project-prose {
  max-width: 40rem;
}

.project-prose p {
  color: var(--color-text-muted);
  margin: 0 0 var(--space-md);
}

.project-prose p:last-child {
  margin-bottom: 0;
}

.project-gallery {
  margin-top: var(--space-xl);
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.project-gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--color-surface);
}

.project-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-gallery figcaption {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.project-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(28, 44, 38, 0.1);
}

.project-pagination a {
  font-weight: 600;
  font-size: 0.875rem;
}

.project-pagination .link-arrow {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8125rem;
}

@media (max-width: 640px) {
  .project-hero__media {
    aspect-ratio: 16 / 10;
  }

  .project-hero__heading {
    padding: var(--space-md);
  }
}

/* Our Process page */
.process-page-hero {
  position: relative;
  min-height: min(52vh, 480px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(72px + var(--space-xl)) var(--space-md) var(--space-xl);
  background: var(--color-bg-dark) center / cover no-repeat;
  color: #f7f4ef;
}

.process-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 44, 38, 0.5) 0%,
    rgba(28, 44, 38, 0.82) 100%
  );
}

.process-page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.process-page-hero .eyebrow {
  color: var(--color-gold-soft);
}

.process-page-hero h1 {
  color: #f7f4ef;
  margin-bottom: var(--space-sm);
}

.process-page-hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 500;
  color: rgba(232, 228, 220, 0.95);
  margin: 0 0 var(--space-lg);
  line-height: 1.35;
}

.process-intro {
  max-width: 42rem;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md) var(--space-lg);
  text-align: center;
}

.process-intro h2 {
  margin-bottom: var(--space-md);
}

.process-intro p {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 1.05rem;
}

/* About page */
.about-intro {
  max-width: 42rem;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md) var(--space-lg);
  text-align: center;
}

.about-intro p {
  color: var(--color-text-muted);
  margin: 0 0 var(--space-md);
  font-size: 1.05rem;
  line-height: 1.65;
}

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

.about-page-block__inner {
  max-width: 40rem;
  margin: 0 auto;
}

.about-page-block h2 {
  margin-bottom: var(--space-md);
  text-align: center;
}

.about-page-block p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 var(--space-md);
}

.about-page-block p:last-of-type {
  margin-bottom: 0;
}

.about-page-block.section--dark h2 {
  color: #f7f4ef;
}

.about-page-block.section--dark p {
  color: rgba(232, 228, 220, 0.88);
}

.about-values__list {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  text-align: left;
}

.about-values__list li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.about-values__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 1px;
  background: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(61, 92, 74, 0.2);
}

.about-page__closing {
  margin-top: var(--space-xl) !important;
  margin-bottom: 0 !important;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 500;
  color: var(--color-text) !important;
  text-align: center;
  line-height: 1.4 !important;
}

.process-phases {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.process-phase {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
  grid-template-columns: 1fr;
  padding: var(--space-xl);
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: none;
  border: var(--process-step-border);
  overflow: hidden;
}

.process-phase > div:first-child {
  margin: calc(-1 * var(--space-xl)) calc(-1 * var(--space-xl)) 0;
}

.process-phase__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
  margin: 0;
  padding: var(--space-sm) var(--space-md);
  background: var(--process-step-badge-bg);
  color: var(--process-step-badge-color);
  border-radius: 0;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.process-phase__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 var(--space-xs);
}

.process-phase h3 {
  margin-bottom: var(--space-md);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
}

.process-phase p {
  color: var(--color-text-muted);
  margin: 0 0 var(--space-md);
}

.process-phase p:last-of-type {
  margin-bottom: 0;
}

.process-phase .btn {
  margin-top: var(--space-md);
}

.process-timeline-section {
  background: var(--color-bg-dark);
  color: #e8e4dc;
  padding: var(--space-2xl) var(--space-md);
}

.process-timeline-section h2 {
  color: #f7f4ef;
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-sm);
}

.process-timeline-section .section__lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  color: rgba(232, 228, 220, 0.85);
  margin-bottom: var(--space-xl);
}

.process-timeline-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.process-timeline-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(247, 244, 239, 0.1);
  padding: var(--space-lg);
  border-radius: var(--radius);
}

.process-timeline-card h3 {
  color: #f7f4ef;
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.process-timeline-card__duration {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--color-gold-soft);
  margin-bottom: var(--space-sm);
}

.process-timeline-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(232, 228, 220, 0.82);
  line-height: 1.55;
}

.faq-section {
  max-width: 48rem;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
}

.faq-section > h2 {
  text-align: center;
  margin-bottom: var(--space-sm);
}

.faq-section > .section__lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-xl);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.faq-list details {
  background: var(--color-surface);
  border: 1px solid rgba(28, 44, 38, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-list summary {
  padding: var(--space-md) var(--space-lg);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  color: var(--color-text);
}

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

.faq-list summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-gold);
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list .faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.faq-list .faq-answer p {
  margin: 0 0 var(--space-sm);
}

.faq-list .faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-list .faq-answer ul {
  margin: var(--space-sm) 0;
  padding-left: 1.25rem;
}

.faq-list .faq-answer li {
  margin-bottom: 0.35rem;
}
