/* ==========================================================================
   FIXAM EHITUS — Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand */
  --color-primary: #a44020;
  --color-primary-dark: #7a2e15;
  --color-primary-light: #c25a36;
  --color-dark: #1a0f0a;
  --color-dark-soft: #2a1c14;
  --color-text: #2a1c14;
  --color-text-muted: #6b5a4f;
  --color-bg: #faf7f2;
  --color-bg-alt: #f0eae2;
  --color-white: #ffffff;
  --color-border: #e8ddd0;

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max-width: 1320px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Effects */
  --shadow-sm: 0 2px 12px rgba(26, 15, 10, 0.06);
  --shadow-md: 0 12px 40px rgba(26, 15, 10, 0.10);
  --shadow-lg: 0 30px 80px rgba(26, 15, 10, 0.18);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-dark);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.875rem);
  font-weight: 500;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background-color: var(--color-primary);
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 60ch;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.95rem 1.85rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

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

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

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

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

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

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

.btn .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 2px 20px rgba(26, 15, 10, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 110;
}

.logo img {
  height: 42px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-dark);
  position: relative;
  padding: 0.5rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-primary);
  transition: width 0.35s var(--ease);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 110;
}

.mobile-toggle span {
  width: 26px;
  height: 2px;
  background-color: var(--color-dark);
  transition: all 0.3s var(--ease);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 15, 10, 0.78) 0%,
    rgba(26, 15, 10, 0.45) 60%,
    rgba(26, 15, 10, 0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: var(--color-white);
  padding: 4rem 0;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.hero h1 em {
  font-style: italic;
  color: var(--color-primary-light);
  font-weight: 400;
}

.hero .eyebrow {
  color: var(--color-primary-light);
}

.hero .eyebrow::before {
  background-color: var(--color-primary-light);
}

.hero-text {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 56ch;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background-color: rgba(26, 15, 10, 0.5);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero-stat {
  padding: 1.75rem var(--gutter);
  color: var(--color-white);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.4rem;
  color: var(--color-primary-light);
}

.hero-stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Sections
   ========================================================================== */
section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: clamp(3rem, 5vw, 5rem);
  align-items: end;
}

.section-header h2 {
  max-width: 14ch;
}

.section-header-text {
  display: flex;
  align-items: flex-end;
  height: 100%;
}

@media (max-width: 768px) {
  .section-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   About / Intro
   ========================================================================== */
.intro {
  background-color: var(--color-white);
  position: relative;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.intro-text h2 {
  margin-bottom: 1.75rem;
}

.intro-text p {
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.intro-text p:last-of-type {
  margin-bottom: 2rem;
}

.intro-image {
  position: relative;
  aspect-ratio: 4/5;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.intro-image::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid var(--color-primary);
  z-index: -1;
}

@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
  .intro-image {
    aspect-ratio: 1/1;
    max-width: 500px;
  }
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services {
  background-color: var(--color-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.service-card {
  position: relative;
  overflow: hidden;
  background-color: var(--color-white);
  cursor: pointer;
  transition: transform 0.5s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.service-card:hover .service-image img {
  transform: scale(1.07);
}

.service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(26, 15, 10, 0.5) 100%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.service-card:hover .service-image::after {
  opacity: 1;
}

.service-content {
  padding: 1.5rem 1.5rem 1.75rem;
  border-top: 1px solid var(--color-border);
}

.service-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: block;
}

.service-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s var(--ease);
}

.service-card:hover .service-content h3 {
  color: var(--color-primary);
}

.service-content p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery {
  background-color: var(--color-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-color: var(--color-bg-alt);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 15, 10, 0.6) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  color: var(--color-white);
  z-index: 2;
  transform: translateY(15px);
  opacity: 0;
  transition: all 0.35s var(--ease);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

.gallery-caption span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Bento layout */
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 4; }
.gallery-item.normal { grid-column: span 3; }
.gallery-item.small { grid-column: span 3; }

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.wide,
  .gallery-item.normal,
  .gallery-item.small { grid-column: span 3; }
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }
  .gallery-item.tall,
  .gallery-item.wide,
  .gallery-item.normal,
  .gallery-item.small { grid-column: span 1; }
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process {
  background-color: var(--color-dark);
  color: var(--color-white);
  position: relative;
}

.process h2 {
  color: var(--color-white);
}

.process .eyebrow {
  color: var(--color-primary-light);
}

.process .eyebrow::before {
  background-color: var(--color-primary-light);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
}

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

.process-step {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.process-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-primary-light);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-step h3 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.process-step p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   CTA / Contact Form
   ========================================================================== */
.cta-section {
  background-color: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-image:
    linear-gradient(45deg, var(--color-primary) 25%, transparent 25%),
    linear-gradient(-45deg, var(--color-primary) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--color-primary) 75%),
    linear-gradient(-45deg, transparent 75%, var(--color-primary) 75%);
  background-size: 24px 24px;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0px;
  opacity: 0.04;
  pointer-events: none;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  position: relative;
  z-index: 1;
}

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

.cta-info h2 {
  margin-bottom: 1.5rem;
}

.cta-info p {
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--color-border);
}

.contact-item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
}

.contact-value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-dark);
}

.contact-value a:hover {
  color: var(--color-primary);
}

/* Form */
.contact-form {
  background-color: var(--color-white);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 4px;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-intro {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.form-group .required {
  color: var(--color-primary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-dark);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  transition: all 0.25s var(--ease);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(164, 64, 32, 0.1);
}

.form-control::placeholder {
  color: #b5a89b;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b5a4f' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px;
  padding-right: 2.5rem;
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
  font-family: var(--font-body);
}

.form-submit {
  width: 100%;
  margin-top: 0.75rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
  text-align: center;
}

.form-success {
  display: none;
  padding: 1.25rem;
  background-color: rgba(164, 64, 32, 0.08);
  border-left: 3px solid var(--color-primary);
  color: var(--color-dark);
  font-size: 0.95rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.form-success.show {
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

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

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

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-about p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 32ch;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-col ul a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col ul a:hover {
  color: var(--color-primary-light);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s var(--ease);
}

.footer-social a:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Page Hero (sub-pages)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 9rem 0 5rem;
  background-color: var(--color-dark);
  color: var(--color-white);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a:hover {
  color: var(--color-primary-light);
}

.breadcrumbs .sep {
  color: rgba(255, 255, 255, 0.4);
}

.page-hero h1 {
  color: var(--color-white);
  max-width: 18ch;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 1.5rem;
}

/* ==========================================================================
   Vannitoa ehitus page (service detail)
   ========================================================================== */
.service-detail {
  background-color: var(--color-white);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

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

.service-detail-text h2 {
  margin-bottom: 1.5rem;
}

.service-detail-text p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

.service-features {
  list-style: none;
  margin: 2rem 0;
  display: grid;
  gap: 1rem;
}

.service-features li {
  padding: 1rem 0 1rem 2.5rem;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  color: var(--color-dark);
  font-weight: 500;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.service-detail-image {
  position: sticky;
  top: 100px;
}

.service-detail-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 2px;
}

.service-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 5rem;
  padding-top: 5rem;
  border-top: 1px solid var(--color-border);
}

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

.feature-card {
  padding: 2rem;
  background-color: var(--color-bg);
  border-radius: 2px;
  border-left: 3px solid var(--color-primary);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 900px) {
  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    background-color: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    padding: 2rem;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .main-nav a {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
  }

  .header-cta .btn {
    display: none;
  }

  .header-inner {
    padding: 0.9rem 0;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stat {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-stat:nth-child(2) {
    border-right: none;
  }

  .hero-stat:nth-child(3),
  .hero-stat:nth-child(4) {
    border-bottom: none;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 0;
  }

  .hero-content {
    padding: 2rem 0 4rem;
  }

  .hero-stats {
    position: static;
  }

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

  .hero-actions .btn {
    width: 100%;
  }
}
