/* ═══════════════════════════════════════════════════════════
   Stockholmskök — Luxury Digital Showroom
   ═══════════════════════════════════════════════════════════ */

:root {
  --cream: #FAF7F2;
  --warm-white: #FDFBF7;
  --sand: #E8E0D4;
  --stone: #B8A99A;
  --charcoal: #2C2825;
  --dark: #1A1714;
  --accent: #8B7355;
  --accent-light: #A6906F;
  --gold: #C9A96E;
  --text: #3D3632;
  --text-light: #7A6F66;
  --radius: 2px;
  --transition: 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--stone); border-radius: 3px; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 400; line-height: 1.2; color: var(--charcoal); }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

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

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

.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 60px); }

/* ─── Topbar ─── */
.topbar {
  background: var(--charcoal);
  color: var(--sand);
  font-size: 13px;
  padding: 8px 0;
  letter-spacing: 0.04em;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: var(--sand); }
.topbar a:hover { color: #fff; }
.topbar-contact { display: flex; gap: 16px; }
.topbar-divider { opacity: 0.3; }

/* ─── Header ─── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0;
  transition: all 0.5s ease;
  background: transparent;
}
.header.scrolled {
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-text strong { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--charcoal); display: block; letter-spacing: 0.02em; }
.logo-text small { font-size: 11px; color: var(--text-light); letter-spacing: 0.08em; text-transform: uppercase; }
.header.scrolled .logo-text strong { color: var(--charcoal); }

.nav { display: flex; gap: 32px; align-items: center; }
.nav a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.85); letter-spacing: 0.02em; text-transform: uppercase; font-size: 12px; transition: all var(--transition); }
.nav a:hover { color: #fff; }
.header.scrolled .nav a { color: var(--text-light); }
.header.scrolled .nav a:hover { color: var(--charcoal); }

.nav-cta {
  background: rgba(255,255,255,0.15) !important;
  padding: 10px 24px !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  border-radius: 0 !important;
  letter-spacing: 0.1em !important;
}
.nav-cta:hover { background: rgba(255,255,255,0.25) !important; }
.header.scrolled .nav-cta {
  background: var(--charcoal) !important;
  color: #fff !important;
  border-color: var(--charcoal) !important;
}

.header-phone { display: none; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: all 0.3s; }
.header.scrolled .menu-toggle span { background: var(--charcoal); }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,23,20,0.75) 0%, rgba(26,23,20,0.4) 50%, rgba(26,23,20,0.2) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 680px;
  padding: 120px 0 80px;
}
.hero-eyebrow {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
  font-weight: 500;
}
.hero h1 { color: #fff; margin-bottom: 24px; font-weight: 400; }
.hero p { font-size: 18px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 40px; max-width: 540px; }

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 36px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer; border: none;
  font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: var(--accent); color: #fff;
  border: 1px solid var(--accent);
}
.btn-primary:hover { background: var(--accent-light); border-color: var(--accent-light); color: #fff; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-dark { background: var(--charcoal); color: #fff; border: 1px solid var(--charcoal); }
.btn-dark:hover { background: var(--dark); }
.btn-white { background: #fff; color: var(--charcoal); border: 1px solid #fff; }
.btn-white:hover { background: var(--cream); color: var(--charcoal); }
.btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-block { width: 100%; }

/* ─── Trust strip under hero ─── */
.trust-strip {
  background: var(--charcoal);
  padding: 32px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.trust-item { color: rgba(255,255,255,0.7); font-size: 13px; letter-spacing: 0.06em; }
.trust-num { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--gold); margin-bottom: 4px; }

/* ─── Sections ─── */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--charcoal); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.7); }

.section-eyebrow {
  display: block;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px; font-weight: 600;
}
.section-header { max-width: 640px; margin-bottom: 64px; }
.section-header-center { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-header p, .section-header-center p { font-size: 17px; color: var(--text-light); margin-top: 16px; line-height: 1.8; }

/* ─── Image Grid (Showroom) ─── */
.showroom-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}
.showroom-item {
  overflow: hidden;
  position: relative;
  border-radius: var(--radius);
}
.showroom-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.showroom-item:hover img { transform: scale(1.05); }
.showroom-item:nth-child(1) { grid-column: 1 / 8; grid-row: 1; aspect-ratio: 4/3; }
.showroom-item:nth-child(2) { grid-column: 8 / 13; grid-row: 1; aspect-ratio: 3/4; }
.showroom-item:nth-child(3) { grid-column: 1 / 5; grid-row: 2; aspect-ratio: 1; }
.showroom-item:nth-child(4) { grid-column: 5 / 13; grid-row: 2; aspect-ratio: 16/7; }

/* ─── Features ─── */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 60px; }
.feature-card { padding: 0; }
.feature-num { font-family: 'Playfair Display', serif; font-size: 3rem; color: var(--sand); line-height: 1; margin-bottom: 16px; }
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { font-size: 15px; color: var(--text-light); line-height: 1.8; }

/* ─── Services / Snickerier ─── */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  background: #fff;
  padding: 40px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition);
}
.service-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.08); transform: translateY(-4px); }
.service-icon { font-size: 2rem; margin-bottom: 20px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 15px; color: var(--text-light); margin-bottom: 16px; }
.service-list { list-style: none; }
.service-list li { font-size: 14px; color: var(--text-light); padding: 4px 0 4px 20px; position: relative; }
.service-list li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }

/* ─── Process ─── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }
.process-step { position: relative; }
.process-num {
  font-family: 'Playfair Display', serif;
  font-size: 4rem; color: var(--sand); line-height: 1; margin-bottom: 20px;
  opacity: 0.6;
}
.process-step h3 { margin-bottom: 12px; font-size: 1.2rem; }
.process-step p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

/* ─── Projects ─── */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { overflow: hidden; position: relative; cursor: pointer; group: true; }
.project-img {
  aspect-ratio: 3/4; overflow: hidden;
  position: relative;
}
.project-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.project-card:hover .project-img img { transform: scale(1.08); }
.project-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,23,20,0.7) 0%, transparent 50%);
  transition: opacity var(--transition);
}
.project-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px 24px;
  color: #fff; z-index: 2;
}
.project-type {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px; display: block;
}
.project-info h3 { color: #fff; margin-bottom: 8px; }
.project-info p { font-size: 14px; color: rgba(255,255,255,0.7); display: none; }
.project-card:hover .project-info p { display: block; }

/* ─── Pricing ─── */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan-card {
  background: #fff; padding: 48px 36px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition);
  position: relative;
}
.plan-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.plan-featured { border-color: var(--accent); }
.plan-badge {
  position: absolute; top: -1px; right: 32px;
  background: var(--accent); color: #fff;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 16px; font-weight: 600;
}
.plan-name { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--charcoal); margin-bottom: 4px; }
.plan-desc { font-size: 14px; color: var(--text-light); margin-bottom: 24px; }
.plan-price { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--charcoal); margin-bottom: 32px; }
.plan-features { list-style: none; margin-bottom: 32px; }
.plan-features li { font-size: 14px; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.04); color: var(--text-light); }
.section-note { font-size: 13px; color: var(--text-light); text-align: center; margin-top: 32px; }

/* ─── CTA Band ─── */
.cta-band {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(26,23,20,0.75);
}
.cta-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cta-inner h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-inner p { color: rgba(255,255,255,0.7); font-size: 16px; }
.cta-buttons { display: flex; gap: 12px; flex-shrink: 0; }

/* ─── Geo ─── */
.geo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.geo-area { padding: 32px; background: #fff; border: 1px solid rgba(0,0,0,0.04); }
.geo-area h4 { font-size: 1.1rem; margin-bottom: 8px; }
.geo-area p { font-size: 14px; color: var(--text-light); }

/* ─── About ─── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-content { }
.about-content h2 { margin-bottom: 24px; }
.about-content > p { font-size: 16px; color: var(--text-light); margin-bottom: 16px; line-height: 1.8; }
.about-features { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.about-feature { display: flex; gap: 16px; align-items: flex-start; }
.about-icon { font-size: 1.5rem; flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--cream); border-radius: 50%; }
.about-feature strong { color: var(--charcoal); display: block; margin-bottom: 2px; }
.about-feature div { font-size: 14px; color: var(--text-light); }
.about-image { overflow: hidden; }
.about-image img { width: 100%; height: 500px; object-fit: cover; }

/* ─── Contact ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { font-size: 15px; color: var(--text-light); margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item strong { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); margin-bottom: 2px; }
.contact-item a, .contact-item span { font-size: 15px; color: var(--charcoal); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 16px 20px;
  background: var(--cream); border: 1px solid transparent;
  font-size: 15px; font-family: 'Inter', sans-serif; color: var(--charcoal);
  transition: all var(--transition);
  outline: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--accent); background: #fff;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--stone); }
.form-status { font-size: 14px; padding: 12px; display: none; }
.form-status.success { display: block; background: #f0fdf4; color: #16a34a; }
.form-status.error { display: block; background: #fef2f2; color: #dc2626; }
.form-note { font-size: 13px; color: var(--text-light); }

/* ─── Footer ─── */
.footer { background: var(--dark); color: rgba(255,255,255,0.6); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand p { font-size: 14px; margin-top: 16px; line-height: 1.7; }
.footer h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-links span { color: rgba(255,255,255,0.5); font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; font-size: 13px; }
.footer-bottom a { color: var(--gold); }

/* ─── Animations ─── */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ─── Mobile ─── */
@media (max-width: 900px) {
  .topbar { display: none; }
  .header-inner { height: 64px; }
  .nav { display: none; position: fixed; inset: 0; background: var(--dark); flex-direction: column; justify-content: center; align-items: center; gap: 24px; z-index: 200; }
  .nav.open { display: flex; }
  .nav a { color: #fff !important; font-size: 18px !important; }
  .nav-cta { margin-top: 16px; }
  .menu-toggle { display: block; z-index: 201; }
  .menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero { min-height: 90vh; }
  .hero-bg { background-attachment: scroll; }
  .hero-content { padding: 100px 0 60px; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .features-grid, .services-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .projects-grid { grid-template-columns: 1fr; gap: 16px; }
  .plans-grid { grid-template-columns: 1fr; }
  .geo-grid { grid-template-columns: repeat(2, 1fr); }
  .showroom-grid { grid-template-columns: 1fr; }
  .showroom-item { aspect-ratio: 16/10 !important; grid-column: auto !important; grid-row: auto !important; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-buttons { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-image img { height: 300px; }
}

@media (max-width: 500px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .geo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; width: 100%; }
  .cta-buttons .btn { width: 100%; }
}
