/* ============================================================
   Skogshems Fothälsa – Stilmall
   Färgpalett: varma gröna och jordiga toner
   ============================================================ */

/* Static-export addition: the contact form is temporarily removed (see
   public/index.html) pending ViaTurn's booking-request API gaining email
   support, so .contact-info now stands alone instead of sharing
   .contact-grid with .contact-form — center it as its own block. */
.contact-info--standalone {
  max-width: 480px;
  margin: 2rem auto 0;
}

/* --- Reset & grundläggande --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Lato', sans-serif;
  color: #2d3a2e;
  background: #faf9f7;
  line-height: 1.7;
}

/* --- Typografi --- */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
a { color: inherit; text-decoration: none; }

/* --- Layout --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #5a8a5a;
  margin-bottom: 0.5rem;
}

.section-label.light { color: #a8d5a2; }

.centered { text-align: center; }

.section-intro {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1.05rem;
  color: #4a5e4a;
}

.section-intro.light { color: #d4ecd1; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e6ede6;
  box-shadow: 0 2px 8px rgba(60, 90, 60, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon { font-size: 1.8rem; }

.logo-name {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #2d5a2d;
  line-height: 1.2;
}

.logo-tagline {
  display: block;
  font-size: 0.72rem;
  color: #7a9c7a;
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3d5e3d;
  transition: color 0.2s;
}

.main-nav a:hover { color: #5a8a5a; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #2d5a2d 0%, #4a7c4a 40%, #7aaf7a 100%);
  overflow: hidden;
}

/* Subtle leaf texture via pseudo-element */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255,255,255,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 60%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 55, 30, 0.18);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 700px;
  padding: 3rem 1.5rem;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 1.2rem;
}

.hero-content h1 span {
  color: #b8e0b0;
}

.hero-sub {
  font-size: 1.15rem;
  color: #d8f0d0;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(50, 100, 50, 0.3);
}

.btn-primary {
  background: #fff;
  color: #2d5a2d;
}

.section-contact .btn-primary {
  background: #fff;
  color: #2d5a2d;
}

.btn.full-width {
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
  background: #3d6e3d;
  color: #fff;
}

.btn.full-width:hover {
  background: #2d5a2d;
}

/* ============================================================
   OM OSS – tvåkolumns
   ============================================================ */
.section-light { background: #f4f8f4; }
.section-warm  { background: #fdf7ef; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.text-block p { color: #4a5e4a; }

.value-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.value-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: 0 2px 12px rgba(60, 100, 60, 0.07);
  border-top: 3px solid #7aaf7a;
}

.value-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.5rem;
}

.value-card h3 { color: #2d5a2d; }
.value-card p  { font-size: 0.9rem; color: #5a7a5a; margin: 0; }

/* ============================================================
   TJÄNSTER
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.service-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 14px rgba(100, 130, 80, 0.09);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(60, 110, 60, 0.14);
}

.service-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.service-card h3 { color: #2d5a2d; margin-bottom: 0.5rem; }
.service-card p  { font-size: 0.9rem; color: #5a7a5a; margin: 0; }

/* ============================================================
   STEG
   ============================================================ */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 1.5rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(60, 100, 60, 0.07);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #4a7c4a;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem;
}

.step h3 { color: #2d5a2d; }
.step p   { font-size: 0.9rem; color: #5a7a5a; margin: 0; }

.step-arrow {
  font-size: 1.8rem;
  color: #7aaf7a;
  align-self: center;
  margin-top: -0.5rem;
}

/* ============================================================
   KONTAKT
   ============================================================ */
.section-contact {
  background: linear-gradient(135deg, #2d5a2d 0%, #3d6e3d 60%, #5a8a5a 100%);
  color: #fff;
}

.section-contact h2.centered.light { color: #fff; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a8d5a2;
  margin-bottom: 0.2rem;
}

.contact-item a,
.contact-item p {
  color: #d8f0d0;
  font-size: 0.98rem;
  margin: 0;
}

.contact-item a:hover { color: #fff; text-decoration: underline; }

/* --- Kontaktformulär --- */
.contact-form {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.15);
}

.contact-form h3 {
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}

.form-group {
  margin-bottom: 1rem;
}

/* Honeypot field: off-screen rather than display:none, since some bots skip
   the latter when deciding which fields to fill in. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a8d5a2;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.45); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: #a8d5a2;
  background: rgba(255,255,255,0.18);
}

.form-group textarea { resize: vertical; }

.form-feedback {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-feedback.success {
  background: rgba(168, 213, 162, 0.25);
  border: 1px solid #a8d5a2;
  color: #d4f0d0;
}

.form-feedback.error {
  background: rgba(220, 80, 80, 0.2);
  border: 1px solid rgba(220, 80, 80, 0.5);
  color: #ffc0c0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #1e3a1e;
  color: #a0c4a0;
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #c4e0c4;
}

.footer-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: center;
}

.footer-copy { font-size: 0.82rem; }

.footer-credit {
  font-size: 0.72rem;
  color: #6f9a6f;
}

.footer-credit a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(160, 196, 160, 0.4);
  transition: color 0.2s;
}

.footer-credit a:hover { color: #fff; }

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a0c4a0;
  transition: color 0.2s;
}

.footer-nav a:hover { color: #fff; }

/* ============================================================
   RESPONSIV
   ============================================================ */
@media (max-width: 900px) {
  .two-col          { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid     { grid-template-columns: 1fr; }
  .step-arrow       { display: none; }
}

@media (max-width: 600px) {
  .main-nav         { display: none; }
  .service-grid     { grid-template-columns: 1fr; }
  .value-cards      { grid-template-columns: 1fr; }
  .hero             { min-height: 70vh; }
  .footer-inner     { flex-direction: column; text-align: center; }
  .footer-nav       { justify-content: center; }
}
