/* LMC Veneto - main stylesheet */

:root {
  --green: #00a651;
  --green-dark: #0b5d33;
  --green-deep: #073d22;
  --olive: #a1ad4b;
  --mint: #e8f4ec;
  --ink: #1d2a24;
  --muted: #56655d;
  --line: #d9e3dc;
  --bg: #ffffff;
  --bg-alt: #f5f8f4;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(7, 61, 34, .06), 0 6px 20px rgba(7, 61, 34, .07);
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--green); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .6em; color: var(--green-deep); }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green-deep); color: #fff; padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 10px; top: 10px; }

/* Header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-deep); }
.brand img { width: 44px; height: 46px; }
.brand-name { font-weight: 800; font-size: 1.3rem; letter-spacing: .02em; line-height: 1; }
.brand-name span { color: var(--green); }
.brand-tag { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); letter-spacing: .04em; margin-top: 4px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 10px; cursor: pointer; color: var(--green-deep);
}
.nav-toggle svg { display: block; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 8px;
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: .96rem;
}
.main-nav a:hover { background: var(--mint); color: var(--green-deep); }
.main-nav a[aria-current="page"] { color: var(--green-dark); background: var(--mint); }
.main-nav .nav-cta { background: var(--green); color: #fff; }
.main-nav .nav-cta:hover, .main-nav .nav-cta[aria-current="page"] { background: var(--green-dark); color: #fff; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 20px 18px; }
  .main-nav a { padding: 12px 14px; }
}

/* Buttons */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--green-dark); }
.btn-ghost:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn-light { background: #fff; color: var(--green-deep); }
.btn-light:hover { background: var(--mint); color: var(--green-deep); }

/* Hero */

.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--mint) 0%, #f7faf3 55%, #eef1dc 100%);
  padding-block: clamp(56px, 9vw, 110px);
}
.hero .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.hero-kicker { font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: 14px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-logo { justify-self: center; width: min(300px, 100%); }
.hero-logo img { width: 100%; filter: drop-shadow(0 12px 24px rgba(7, 61, 34, .12)); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-logo { order: -1; width: 150px; justify-self: start; }
}

@media (max-width: 480px) {
  .brand-tag { display: none; }
  .hero-logo { width: 110px; }
}

/* Page header (inner pages) */

.page-head { background: linear-gradient(135deg, var(--green-deep), var(--green-dark)); color: #fff; padding-block: 52px 46px; }
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head p { color: #cfe6d8; max-width: 44em; margin: 0; font-size: 1.1rem; }
.breadcrumb { font-size: .85rem; margin-bottom: 12px; color: #9fcfb3; }
.breadcrumb a { color: #cfe6d8; }

/* Sections */

.section { padding-block: clamp(52px, 7vw, 88px); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 46em; margin-bottom: 38px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

@media (max-width: 400px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card p { color: var(--muted); }
.card .more { margin-top: auto; font-weight: 600; text-decoration: none; }
.card .more::after { content: " \2192"; }

.icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center; background: var(--mint); color: var(--green-dark);
}
.icon svg { width: 28px; height: 28px; }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Service detail blocks */

.service { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding-block: 38px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service .icon { margin: 0; width: 64px; height: 64px; }
.service .icon svg { width: 34px; height: 34px; }
.service-body { max-width: 50em; }

@media (max-width: 560px) {
  .service { grid-template-columns: 1fr; gap: 14px; }
}

.service-index { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.service-index a { padding: 7px 14px; border-radius: 999px; background: var(--mint); text-decoration: none; font-size: .92rem; font-weight: 500; }
.service-index a:hover { background: var(--green); color: #fff; }

/* Stripes & CTA */

.areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.areas span { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .95rem; }

.cta { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; border-radius: 16px; padding: clamp(28px, 5vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.cta h2 { color: #fff; margin-bottom: .25em; }
.cta p { margin: 0; color: #d9f0e2; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* Contact */

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon { width: 44px; height: 44px; margin: 0; border-radius: 10px; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }

.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); }
.map-box .map-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 280px; text-decoration: none; padding: 24px; text-align: center; }

/* Law references */

.law-table-wrap { overflow-x: auto; }
.law-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.law-table th, .law-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.law-table th { background: var(--mint); color: var(--green-deep); font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; }
.law-table td:first-child { font-weight: 600; white-space: nowrap; }

.note { font-size: .92rem; color: var(--muted); border-left: 3px solid var(--olive); padding: 4px 0 4px 14px; }

/* Content still to be provided by the client: easy to spot and to search for */
.todo { background: #fff3c4; color: #6b5200; padding: 0 .3em; border-radius: 4px; }

/* Footer */

.site-footer { background: var(--green-deep); color: #b9d6c5; padding-block: 56px 28px; font-size: .95rem; margin-top: 0; }
.site-footer a { color: #e5f3ea; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-grid h3 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-logo { width: 84px; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; }

@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
