/* =============================================================
   SKRIPTORIET — Global Design System
   Warm Scandinavian editorial aesthetic
   ============================================================= */

/* ---------- CSS Variables ---------- */
:root {
  --parchment: #F5F0E8;
  --cream: #FAF7F2;
  --ink: #1A1714;
  --warm-gray: #6B6560;
  --accent: #B8562E;
  --accent-light: #D4845F;
  --sage: #8B9A7E;
  --deep-brown: #3D322A;
  --border: #D9D2C7;
  --shadow: rgba(26, 23, 20, 0.08);
  --white: #FFFFFF;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
}

a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent-light); }
img { max-width: 100%; height: auto; display: block; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 24px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4 { font-size: 1.05rem; margin-bottom: 10px; }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 24px; margin-bottom: 16px; }
li { margin-bottom: 6px; }

strong { font-weight: 600; }
em { color: var(--accent); }

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: 0 4px 30px var(--shadow); }

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.logo-text {
  display: inline-block;
}
.logo span.dot { color: var(--accent); }
.logo .logo-sub {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-top: 2px;
  text-align: right;
}

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--warm-gray);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  text-decoration: none;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--ink) !important;
  color: var(--cream) !important;
  padding: 10px 24px !important;
  border-radius: 6px;
  transition: background 0.3s, transform 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--deep-brown) !important; transform: translateY(-1px); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.3s; border-radius: 2px; transform-origin: center; }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Page Layout ---------- */
.page-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 40px 80px;
}

/* Page header for subpages */
.page-hero {
  padding: 120px 40px 48px;
  background: linear-gradient(180deg, var(--parchment) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.page-hero .breadcrumb {
  font-size: 0.8rem;
  color: var(--warm-gray);
  margin-bottom: 16px;
  font-weight: 500;
}
.page-hero .breadcrumb a { color: var(--warm-gray); }
.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero .breadcrumb .sep { margin: 0 8px; opacity: 0.4; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}
.page-hero .page-subtitle {
  font-size: 1.05rem;
  color: var(--warm-gray);
  max-width: 640px;
  line-height: 1.7;
}

/* Two-column layout (sidebar + content) */
.page-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  align-items: start;
}

/* ---------- Sidebar ---------- */
.sidebar {
  position: sticky;
  top: 96px;
}

.sidebar-section {
  margin-bottom: 36px;
}
.sidebar-section h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm-gray);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.sidebar-nav {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}
.sidebar-nav a {
  display: block;
  padding: 7px 10px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 400;
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
  margin-bottom: 1px;
}
.sidebar-nav a:hover {
  background: rgba(184, 86, 46, 0.06);
  color: var(--deep-brown);
}
.sidebar-nav a.active {
  background: rgba(184, 86, 46, 0.08);
  color: var(--accent);
  font-weight: 600;
}

/* Sidebar news list */
.sidebar-news { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sidebar-news li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sidebar-news li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--shadow);
}
.sidebar-news .news-date {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.03em;
  display: block;
  margin-bottom: 5px;
}
.sidebar-news a {
  font-size: 0.82rem;
  color: var(--ink);
  line-height: 1.4;
  display: block;
  margin-bottom: 8px;
}
.sidebar-news a:hover { color: var(--accent); }
.sidebar-news a::after {
  content: 'Läs mer →';
  display: block;
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* Sidebar contact box */
.sidebar-contact {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.sidebar-contact h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm-gray);
  margin-bottom: 14px;
}
.sidebar-contact p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 8px;
}
.sidebar-contact a { color: var(--accent); font-weight: 500; }
.sidebar-contact .contact-name {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.92rem;
}

/* ---------- Main Content Area ---------- */
.main-content h1 { margin-top: 0; }

.main-content h2 {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.main-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.main-content h3 {
  margin-top: 32px;
  color: var(--deep-brown);
}

.main-content img {
  border-radius: 12px;
  margin: 24px 0;
  box-shadow: 0 4px 16px var(--shadow);
}

.main-content ul, .main-content ol {
  margin-bottom: 20px;
}
.main-content li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--warm-gray);
}

/* Scanner images row */
.scanner-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.scanner-images figure {
  text-align: center;
}
.scanner-images img {
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 10px;
}
.scanner-images figcaption {
  font-size: 0.78rem;
  color: var(--warm-gray);
  line-height: 1.4;
}

/* Example images */
.example-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}
.example-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.example-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow);
}
.example-card img {
  width: 100%;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
}
.example-card .caption {
  padding: 16px;
  font-size: 0.85rem;
  color: var(--warm-gray);
}

/* Download links */
.download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184, 86, 46, 0.06);
  color: var(--accent);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  margin: 8px 0;
  transition: background 0.3s;
}
.download-link:hover { background: rgba(184, 86, 46, 0.12); }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--accent-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 86, 46, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 24px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  transition: all 0.3s;
}
.btn-secondary:hover { border-color: var(--ink); background: var(--white); color: var(--ink); }

/* ---------- Customer / Client Grid ---------- */
.client-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.client-entry {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.client-entry:first-child { padding-top: 0; }
.client-entry:last-child { border-bottom: none; }
.client-entry h3 {
  margin-top: 0;
  color: var(--ink);
  font-size: 1.15rem;
}
.client-entry p {
  color: var(--warm-gray);
  font-size: 0.95rem;
}
.client-entry ul {
  margin-top: 8px;
}

/* ---------- News List (full page) ---------- */
.news-list { list-style: none; padding: 0; }
.news-list-item {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
  margin-bottom: 0;
}
.news-list-item:hover { background: rgba(184, 86, 46, 0.02); margin: 0 -16px; padding-left: 16px; padding-right: 16px; border-radius: 8px; }
.news-list-item .date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  min-width: 90px;
  font-variant-numeric: tabular-nums;
}
.news-list-item a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
}
.news-list-item a:hover { color: var(--accent); }

/* ---------- News Article (individual) ---------- */
.news-article {
  max-width: 720px;
}
.news-article .article-date {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.news-article h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 28px;
}
.news-article p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--warm-gray);
}
.news-article img {
  border-radius: 0;
  margin: 28px 0;
}

/* ---------- Contact Page ---------- */
.contact-hero {
  background: var(--ink);
  color: var(--cream);
  border-radius: 16px;
  padding: 48px;
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-hero h2 {
  font-size: 1.8rem;
  color: var(--cream);
  margin-bottom: 16px;
  border: none;
  padding: 0;
  margin-top: 0;
}
.contact-hero p {
  color: rgba(245, 240, 232, 0.7);
  font-size: 0.95rem;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.contact-detail .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245, 240, 232, 0.5);
  font-weight: 600;
  min-width: 50px;
}
.contact-detail .value {
  color: var(--cream);
  font-weight: 500;
}
.contact-detail a { color: var(--accent-light); }

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.contact-card h3 {
  margin-top: 0;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.contact-card p {
  font-size: 0.9rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 40px 40px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand .logo { color: var(--cream); font-size: 1.3rem; display: inline-flex; }
.footer-brand .logo .logo-sub { color: rgba(245, 240, 232, 0.5); }
.footer-brand p {
  color: rgba(245, 240, 232, 0.5);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  color: rgba(245, 240, 232, 0.5);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 12px;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--accent-light); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  color: rgba(245, 240, 232, 0.35);
  font-size: 0.82rem;
  margin: 0;
}
.footer-bottom a {
  color: rgba(245, 240, 232, 0.35);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-bottom a:hover { color: var(--accent-light); }

/* ---------- Image Grid (news articles) ---------- */
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0;
}
.image-item {
  text-align: center;
}
.image-item img {
  width: 100%;
  height: auto;
  border-radius: 0;
  transition: transform 0.3s, box-shadow 0.3s;
  margin: 0;
}
.image-item img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px var(--shadow);
}
.image-item figcaption {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--warm-gray);
  font-style: italic;
  line-height: 1.4;
}

/* ---------- Utility Classes ---------- */
.accent { color: var(--accent); }
.muted { color: var(--warm-gray); }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 48px; }
.text-center { text-align: center; }

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .page-body { grid-template-columns: 1fr 240px; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-hero { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .scanner-images { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 30px var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 12px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links .nav-cta {
    margin-top: 12px;
    text-align: center;
    border-bottom: none !important;
  }
  .mobile-toggle { display: block; }

  .page-hero { padding: 100px 24px 36px; }
  .page-body {
    grid-template-columns: 1fr;
    padding: 32px 24px 60px;
  }
  .sidebar {
    position: static;
  }
  .sidebar .sidebar-nav { display: none; }
  .sidebar .sidebar-contact { display: none; }
  .sidebar .sidebar-section > h3 { display: none; }
  .sidebar .sidebar-news::before {
    content: 'Nyheter';
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--warm-gray);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
  }

  .scanner-images { grid-template-columns: 1fr; }
  .image-grid { grid-template-columns: 1fr; }
  .example-grid { grid-template-columns: 1fr; }
  .contact-hero { padding: 32px 24px; }

  .site-footer { padding: 56px 24px 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .nav-inner { padding: 0 24px; }

  .home-hero { padding: 110px 24px 48px; }
  .home-hero-inner { gap: 24px; }
  .home-hero h1 { font-size: 2rem; }
  .home-hero-actions { flex-direction: column; align-items: stretch; }

  .home-section { padding: 48px 24px; }
  .home-section-inner { gap: 32px; }

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

  .home-services-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   HOMEPAGE — Creative Layout
   ============================================================= */

/* ---------- Home Hero ---------- */
.home-hero {
  padding: 140px 40px 72px;
  background: linear-gradient(180deg, var(--parchment) 0%, var(--cream) 60%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.home-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.home-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 0;
}
.home-hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent);
  margin-bottom: 0;
}
.home-hero-text {
  font-size: 1.05rem;
  color: var(--warm-gray);
  max-width: 640px;
  line-height: 1.8;
}
.home-hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

/* ---------- Home Sections ---------- */
.home-section {
  padding: 72px 40px;
  border-bottom: 1px solid var(--border);
}
.home-section:last-of-type {
  border-bottom: none;
}
.home-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.home-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.home-section-header h2 {
  margin-bottom: 12px;
  border: none;
  padding: 0;
  margin-top: 0;
}
.home-section-header p {
  color: var(--warm-gray);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Home Scanners ---------- */
.home-scanners .scanner-images {
  max-width: 1100px;
  margin: 0 auto;
}

/* ---------- Home Services ---------- */
.home-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow);
}
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  margin-top: 0;
  color: var(--ink);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--warm-gray);
  line-height: 1.7;
}
a.service-card-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
a.service-card-link h3 { color: var(--ink); }
a.service-card-link:hover h3 { color: var(--accent); }
.card-arrow {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.home-process {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px;
  text-align: center;
}
.home-process h3 {
  margin-top: 0;
  margin-bottom: 16px;
}
.home-process p {
  color: var(--warm-gray);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto 16px;
  line-height: 1.8;
}

/* ---------- Testimonials ---------- */
.home-testimonials {
  background: var(--parchment);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 40px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow);
}
.testimonial-card::before {
  content: '\201D';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--border);
  pointer-events: none;
}
.testimonial-card blockquote {
  font-size: 0.9rem;
  color: var(--warm-gray);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.testimonial-role {
  font-size: 0.78rem;
  color: var(--warm-gray);
  margin-top: 2px;
}
.testimonial-link {
  text-align: center;
}
.testimonial-link a {
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Home Responsive ---------- */
@media (max-width: 1024px) {
  .home-services-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .home-services-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .home-hero { padding: 110px 24px 48px; }
  .home-section { padding: 48px 24px; }
  .home-hero-actions { flex-direction: column; align-items: stretch; }
  .home-hero-actions .btn-primary,
  .home-hero-actions .btn-secondary { justify-content: center; }
}
