/* Plant & House Care Cortona - base styles */
:root {
  --bg: #f4f7f2;
  --bg-alt: #e8efe4;
  --surface: #ffffff;
  --ink: #1c2a22;
  --muted: #4d5c52;
  --accent: #2f6b4f;
  --accent-dark: #24553e;
  --line: #c9d6cc;
  --hero-bg: linear-gradient(145deg, #1e3d30 0%, #3a6b52 55%, #6a9a78 100%);
  --radius: 12px;
  --shadow: 0 10px 30px rgba(28, 42, 34, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: var(--accent);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.logo {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 0.55rem 0.5rem;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent-dark);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--accent-dark);
}

/* Hero */
.hero {
  position: relative;
  background: var(--hero-bg);
  color: #f7faf7;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero-with-image {
  min-height: clamp(22rem, 62vh, 34rem);
  display: flex;
  align-items: flex-end;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(18, 36, 28, 0.82) 0%, rgba(30, 55, 42, 0.55) 55%, rgba(40, 70, 52, 0.35) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  opacity: 0.85;
  margin: 0 0 0.75rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  max-width: 16ch;
}

.hero .lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  max-width: 42ch;
  opacity: 0.95;
}

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

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-intro {
  color: var(--muted);
  max-width: 55ch;
  margin: 0 0 1.75rem;
}

.cards {
  display: grid;
  gap: 1rem;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.card-with-image {
  padding: 0;
  overflow: hidden;
}

.card-with-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.services-preview {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.services-preview-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.services-preview-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-list {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.service-list li {
  margin-bottom: 0.6rem;
}

.service-list strong {
  color: var(--ink);
}

.steps {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.steps li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
}

.steps span {
  flex: 0 0 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.text-link {
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: #fff;
  color: var(--accent-dark);
}

.btn-primary:hover {
  background: #eef6f0;
}

.cta-band .btn-primary {
  background: var(--accent);
  color: #fff;
}

.cta-band .btn-primary:hover {
  background: var(--accent-dark);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-solid {
  background: var(--accent);
  color: #fff;
}

.btn-solid:hover {
  background: var(--accent-dark);
}

.cta-band {
  text-align: center;
  background: var(--bg-alt);
}

.cta-band p {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

/* Page content */
.page-hero {
  padding: 2.75rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.content {
  padding: 2.5rem 0 3.5rem;
}

.content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
}

.content h2:first-child {
  margin-top: 0;
}

.content p,
.content li {
  color: var(--muted);
}

.zone-columns {
  columns: 2;
  column-gap: 2rem;
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.zone-columns li {
  break-inside: avoid;
  margin-bottom: 0.35rem;
}

@media (max-width: 640px) {
  .zone-columns {
    columns: 1;
  }
}

.content-bio p {
  max-width: 62ch;
}

.content-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-block {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.25rem;
  align-items: start;
  margin: 0 0 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.service-block:last-of-type {
  border-bottom: none;
}

.service-block img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.service-block h2 {
  margin-top: 0;
}

.note {
  background: #fff8e8;
  border: 1px solid #ead9a8;
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  color: #5c4d28;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.price-table th {
  background: var(--bg-alt);
  color: var(--ink);
}

.price-table tr:last-child td {
  border-bottom: none;
}

/* Form */
.form {
  display: grid;
  gap: 1rem;
  max-width: 560px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form .hint {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
}

.form button {
  justify-self: start;
  cursor: pointer;
  border: none;
  font: inherit;
}

.contact-aside {
  margin-top: 1.5rem;
  color: var(--muted);
}

.contact-aside a {
  font-weight: 600;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #16251e;
  color: #d7e3db;
  padding: 2rem 0;
}

.footer-inner {
  display: grid;
  gap: 1rem;
}

.site-footer p {
  margin: 0.35rem 0 0;
  color: #a8b9af;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: #e8f2ec;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-note {
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 860px) {
  .cards-3,
  .services-preview,
  .service-block {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 4rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }
}
