/* Hagekrets — Garden Planning, Oslo */
:root {
  --forest: #2d4a3e;
  --forest-light: #3d5f50;
  --mist: #eef1ee;
  --mist-dark: #dde3dc;
  --text: #1a1f1c;
  --text-muted: #4a524c;
  --white: #fafbf9;
  --accent: #5a7a68;
  --serif: "Georgia", "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--serif);
  background: var(--mist);
  color: var(--text);
  line-height: 1.7;
  font-size: 1.05rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--forest-light);
}

/* Header */
.site-header {
  background: var(--forest);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: normal;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
}

.logo span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 0.15rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  opacity: 0.92;
}

.main-nav a:hover,
.main-nav a.active {
  opacity: 1;
  text-decoration: underline;
}

/* Hero */
.hero {
  background: var(--forest);
  color: var(--white);
  padding: 4rem 1.5rem 5rem;
  text-align: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48 L0 20 Q150 0 300 18 T600 12 T900 22 T1200 8 L1200 48 Z' fill='%23eef1ee'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: 100% 100%;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: normal;
  max-width: 700px;
  margin: 0 auto 1rem;
  line-height: 1.25;
}

.hero .tagline {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto 2rem;
  font-style: italic;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--white);
  color: var(--forest);
}

.btn-primary:hover {
  background: var(--mist);
  color: var(--forest);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.btn-dark {
  background: var(--forest);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--forest-light);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--forest);
}

.btn-outline:hover {
  background: var(--forest);
  color: var(--white);
}

/* Path divider */
.path-divider {
  height: 32px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 32' preserveAspectRatio='none'%3E%3Cpath d='M0 16 Q200 0 400 16 T800 16 T1200 16' stroke='%232d4a3e' stroke-width='2' fill='none' opacity='0.25'/%3E%3Cpath d='M0 22 Q300 8 600 22 T1200 22' stroke='%232d4a3e' stroke-width='1.5' fill='none' opacity='0.15'/%3E%3C/svg%3E") no-repeat center;
  background-size: 100% 100%;
  margin: 2.5rem 0;
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--white);
}

.section-title {
  font-size: 1.85rem;
  font-weight: normal;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.section-lead {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--mist-dark);
  padding: 1.75rem;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: normal;
  color: var(--forest);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.card .price {
  font-family: var(--sans);
  font-size: 1.35rem;
  color: var(--forest);
  margin-top: 1rem;
  font-weight: 600;
}

.card .price-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Feature blocks */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
  }
}

.feature-visual {
  background: var(--forest);
  color: var(--white);
  padding: 2.5rem;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-style: italic;
  opacity: 0.92;
}

/* Lists */
.content-list {
  list-style: none;
  margin: 1rem 0;
}

.content-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: var(--text-muted);
}

.content-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.6rem;
  top: 0.85rem;
}

/* Page header (inner pages) */
.page-header {
  background: var(--forest);
  color: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: normal;
  margin-bottom: 0.5rem;
}

.page-header p {
  opacity: 0.88;
  max-width: 560px;
  margin: 0 auto;
  font-style: italic;
}

/* Content prose */
.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: 1.45rem;
  font-weight: normal;
  color: var(--forest);
  margin: 2rem 0 0.75rem;
}

.prose h3 {
  font-size: 1.15rem;
  font-weight: normal;
  color: var(--forest);
  margin: 1.5rem 0 0.5rem;
}

.prose p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.prose ul, .prose ol {
  margin: 0 0 1rem 1.5rem;
  color: var(--text-muted);
}

.prose li {
  margin-bottom: 0.4rem;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--mist-dark);
  padding: 1.25rem 0;
}

.faq-item h3 {
  font-size: 1.1rem;
  font-weight: normal;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--sans);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--mist-dark);
  background: var(--white);
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--text);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info p {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.contact-info strong {
  color: var(--forest);
  font-weight: normal;
}

/* Pricing table */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.pricing-table th,
.pricing-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--mist-dark);
}

.pricing-table th {
  background: var(--forest);
  color: var(--white);
  font-family: var(--sans);
  font-weight: normal;
  font-size: 0.9rem;
}

.pricing-table td {
  background: var(--white);
  color: var(--text-muted);
}

.pricing-table .amount {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--forest);
  white-space: nowrap;
}

/* Process steps */
.process-steps {
  counter-reset: step;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--forest);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 1rem;
}

.process-step h3 {
  font-size: 1.15rem;
  font-weight: normal;
  color: var(--forest);
  margin-bottom: 0.35rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Projects / Portfolio */
.project-card {
  background: var(--white);
  border: 1px solid var(--mist-dark);
  overflow: hidden;
}

.project-card .project-visual {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-light) 100%);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-style: italic;
  padding: 1rem;
  text-align: center;
}

.project-card .project-body {
  padding: 1.5rem;
}

.project-card h3 {
  font-size: 1.1rem;
  font-weight: normal;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.project-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.project-meta {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 0.75rem;
}

/* Areas list */
.area-tag {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--mist-dark);
  padding: 0.4rem 0.9rem;
  margin: 0.25rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--forest);
}

/* Sitemap */
.sitemap-list {
  list-style: none;
  columns: 2;
  column-gap: 2rem;
}

@media (max-width: 600px) {
  .sitemap-list {
    columns: 1;
  }
}

.sitemap-list li {
  margin-bottom: 0.5rem;
  break-inside: avoid;
}

.sitemap-list a {
  font-family: var(--sans);
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  background: var(--forest);
  color: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
}

.cta-band h2 {
  font-size: 1.6rem;
  font-weight: normal;
  margin-bottom: 0.75rem;
}

.cta-band p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.5rem;
  font-family: var(--sans);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  color: var(--white);
  font-weight: normal;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: 0.4rem;
}

.footer-grid a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
}

/* Legal pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: normal;
  color: var(--forest);
  margin: 2rem 0 0.75rem;
}

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: normal;
  color: var(--forest);
  margin: 1.25rem 0 0.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.legal-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content .updated {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 2rem;
}

/* Breadcrumb */
.breadcrumb {
  font-family: var(--sans);
  font-size: 0.82rem;
  padding: 1rem 0;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--forest);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}
