/* =========================================================
   Tidy Caddy Static Website
   Edit colors, text, spacing, and image paths here.
   ========================================================= */

:root {
  --green: #184f2a;
  --green-dark: #10391d;
  --green-soft: #eef6ef;
  --tan: #c7955c;
  --tan-soft: #edd8bf;
  --cream: #fffdf8;
  --footer: #f3eadf;
  --surface: #ffffff;
  --text: #121212;
  --muted: #5f665f;
  --line: #e4ddd1;
  --shadow: 0 18px 45px rgba(50, 40, 25, 0.12);
  --radius: 18px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  background: var(--green);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 999;
}

.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.04em;
}

.patent-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border: 1px solid rgba(199, 149, 92, 0.68);
  border-radius: 999px;
  color: #5f3d1d;
  background: rgba(237, 216, 191, 0.45);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-weight: 600;
}

.nav-links a { padding: 8px 0; }

.nav-links a:hover,
.nav-links a:focus { color: var(--green); }

.nav-cta {
  padding: 11px 17px !important;
  border-radius: 8px;
  background: var(--green);
  color: white !important;
  box-shadow: 0 10px 20px rgba(24, 79, 42, 0.15);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 800;
}

.hero {
  padding: 28px 0 26px;
  background:
    radial-gradient(circle at 78% 24%, rgba(199, 149, 92, 0.12), transparent 34%),
    linear-gradient(180deg, var(--cream), #ffffff);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin: 0;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5.6vw, 5rem);
  color: var(--green);
  max-width: 660px;
}

h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: #222;
  max-width: 560px;
  margin: 22px 0 0;
}

.hero-actions {
  display: grid;
  gap: 12px;
  max-width: 430px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 9px;
  border: 1px solid var(--green);
  padding: 14px 18px;
  font-weight: 850;
  font-size: 1.04rem;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(31, 91, 46, 0.16);
}

.btn-primary {
  color: white;
  background: linear-gradient(180deg, #235f33, var(--green-dark));
}

.btn-secondary {
  color: var(--green);
  background: white;
}

.hero-image {
  border-radius: 26px;
  overflow: hidden;
  filter: drop-shadow(0 22px 36px rgba(80, 55, 28, 0.14));
}

.hero-image img {
  width: 100%;
  height: auto;
}

.color-gallery {
  padding: 34px 0 4px;
}

.gallery-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.gallery-heading p {
  color: var(--muted);
  margin: 8px 0 0;
  max-width: 660px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(50, 40, 25, 0.07);
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1.22 / 1;
  object-fit: cover;
  background: white;
}

.product-card-content {
  padding: 16px 18px 18px;
}

.product-card-content p {
  margin: 8px 0 0;
  color: var(--muted);
}

.form-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 36px);
  margin-top: 14px;
}

.form-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.icon-circle {
  width: 58px;
  height: 58px;
  margin: 0;
  border-radius: 999px;
  color: white;
  background: var(--green);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: 0 10px 22px rgba(31, 91, 46, 0.18);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.span-2 { grid-column: span 2; }

label { font-weight: 800; }

input, select, textarea {
  width: 100%;
  border: 1px solid #d9d0c2;
  background: white;
  color: var(--text);
  border-radius: 10px;
  min-height: 54px;
  padding: 14px 16px;
  font: inherit;
}

textarea {
  resize: vertical;
  min-height: 84px;
}

.submit-wrap {
  display: grid;
  gap: 10px;
  align-content: start;
}

.submit-wrap .btn { width: 100%; }

.privacy {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0;
  text-align: center;
}

.form-status {
  min-height: 24px;
  color: var(--green);
  font-weight: 800;
  text-align: center;
  margin: 0;
}

.trust-strip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  margin: 14px auto 0;
  padding: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.trust-item {
  text-align: left;
  padding: 8px 20px;
  border-right: 1px solid var(--line);
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: start;
}

.trust-item:last-child { border-right: 0; }

.trust-copy p {
  color: var(--muted);
  margin: 8px 0 0;
}

.section { padding: 78px 0; }

.section-intro {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-intro p {
  color: var(--muted);
  font-size: 1.08rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 30px rgba(50, 40, 25, 0.07);
}

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--muted);
}

.cta-band {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: white;
  border-radius: 28px;
  padding: clamp(28px, 6vw, 58px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 680px;
}

.cta-band .btn {
  border-color: white;
  background: white;
  color: var(--green);
}

.site-footer {
  background: linear-gradient(180deg, #f5ecdf, var(--footer));
  border-top: 1px solid var(--line);
  color: #4a3f32;
  margin-top: 14px;
  padding: 26px 0 32px;
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-top { padding-bottom: 10px; }

.footer-links,
.social-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer p,
.site-footer a { color: #5b5147; }

.small { font-size: 0.92rem; }

@media (max-width: 1040px) {
  .lead-form { grid-template-columns: 1fr 1fr; }
  .submit-wrap { grid-column: 2; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }

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

  .nav-links a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin: 12px;
    text-align: center;
  }

  .hero-grid,
  .split,
  .cta-band,
  .card-grid,
  .trust-strip,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-image { order: -1; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .gallery-heading { display: block; }
}

@media (max-width: 680px) {
  .lead-form { grid-template-columns: 1fr; }
  .form-field,
  .form-field.span-2,
  .submit-wrap { grid-column: auto; }
}

@media (max-width: 560px) {
  .nav { min-height: 68px; }
  .brand-lockup { gap: 8px; }
  .patent-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
  }
  h1 { font-size: clamp(2.35rem, 13vw, 3.6rem); }
  .container { width: min(100% - 22px, var(--max-width)); }
  .form-card, .card { padding: 20px; }
  .btn { font-size: 0.98rem; }
  .footer-links, .social-links { gap: 14px; }
}