/* ===== Tess Environmental Service ===== */
:root {
  --plum: #3a2d5e;
  --plum-dark: #2a2046;
  --blush: #f0e1e1;
  --cream: #fbf7f4;
  --gold: #c8925a;
  --text: #3b3546;
  --muted: #6d6578;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 12px 32px rgba(58, 45, 94, 0.10);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Poppins", -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--serif); color: var(--plum); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; }

.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .8em;
}

/* Buttons */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  background: var(--plum); color: var(--white); text-decoration: none;
  font-weight: 500; border: 2px solid var(--plum);
  transition: background .2s, transform .2s, color .2s;
}
.btn:hover { background: var(--plum-dark); transform: translateY(-2px); }
.btn-small { padding: 8px 18px; font-size: .9rem; white-space: nowrap; }
@media (max-width: 420px) { .btn-small { padding: 8px 14px; font-size: .85rem; } }
.btn-ghost { background: transparent; color: var(--plum); }
.btn-ghost:hover { background: var(--plum); color: var(--white); }
.btn-light { background: var(--white); color: var(--plum); border-color: var(--white); font-size: 1.15rem; white-space: nowrap; }
.btn-light:hover { background: var(--blush); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 247, 244, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(58, 45, 94, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 44px; height: 44px; border-radius: 10px; }
.brand-name { font-family: var(--serif); font-weight: 600; color: var(--plum); font-size: 1.1rem; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--sans); font-weight: 400; font-size: .75rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-size: .95rem; color: var(--text); }
.nav a:not(.btn):hover { color: var(--plum); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--blush) 0%, var(--cream) 100%); padding: 72px 0 88px; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
/* Credential card */
.cred-card {
  display: flex; gap: 18px; align-items: flex-start; max-width: 520px;
  background: var(--white); border-radius: var(--radius); padding: 20px 22px;
  box-shadow: var(--shadow); border-left: 5px solid var(--gold);
}
.cred-seal {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: var(--plum); color: var(--white); display: grid; place-items: center;
}
.cred-seal svg { width: 30px; height: 30px; }
.cred-title { font-family: var(--serif); font-weight: 600; color: var(--plum); font-size: 1.15rem; margin: 0; line-height: 1.3; }
.cred-sub { color: var(--muted); font-size: .9rem; margin: 2px 0 12px; }
.cred-ids { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; }
.cred-ids dt { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.cred-ids dd { margin: 0; font-size: 1.1rem; font-weight: 600; color: var(--plum); letter-spacing: .03em; }

/* Trust bar */
.trust-bar { background: var(--plum); color: var(--blush); padding: 26px 0; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { text-align: center; display: flex; flex-direction: column; line-height: 1.4; }
.trust-item + .trust-item { border-left: 1px solid rgba(240,225,225,.2); }
.trust-item strong { color: var(--white); font-weight: 600; font-size: 1.02rem; }
.trust-item > span { font-size: .82rem; opacity: .8; }
@media (max-width: 760px) {
  .trust-inner { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .trust-item:nth-child(3) { border-left: 0; }
}

.hero-photo { position: relative; }
.hero-photo img {
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%;
}
.photo-badge {
  position: absolute; left: -24px; bottom: 32px;
  background: var(--white); border-left: 4px solid var(--gold);
  padding: 14px 18px; border-radius: 12px; box-shadow: var(--shadow);
  font-size: .85rem; color: var(--muted); line-height: 1.5;
}
.photo-badge strong { color: var(--plum); font-weight: 600; }

/* Sections */
.section { padding: 88px 0; }
.section-tint { background: var(--blush); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }

.checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--plum); color: var(--white);
  font-size: .75rem; display: grid; place-items: center;
}
.checklist strong { color: var(--plum); font-weight: 600; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s;
}
.card:hover { transform: translateY(-4px); }
.card { padding-top: 36px; border-top: 4px solid var(--gold); }
.card-icon {
  width: 84px; height: 84px; margin: 0 24px; border-radius: 50%;
  background: var(--blush); display: grid; place-items: center;
}
.card-icon img { width: 46px; height: 46px; }
.card h3, .card p { padding: 0 24px; }
.card h3 { margin-top: 24px; }
.card p { color: var(--muted); font-size: .95rem; padding-bottom: 8px; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quotes blockquote { display: flex; flex-direction: column; }
.quotes blockquote p { font-size: 1.05rem; flex: 1; }
@media (max-width: 1000px) { .quotes { grid-template-columns: 1fr 1fr; } }
blockquote {
  margin: 0; background: var(--white); border-radius: var(--radius);
  padding: 36px 32px; box-shadow: var(--shadow); position: relative;
}
blockquote p { font-family: var(--serif); font-size: 1.2rem; color: var(--plum); position: relative; }
cite { font-style: normal; color: var(--gold); font-weight: 500; }

/* Google rating */
.stars { color: #f4b400; letter-spacing: 2px; font-size: 1.1rem; }
blockquote .stars { margin-bottom: 10px; position: relative; }
.rating {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
  background: var(--white); padding: 10px 20px; border-radius: 999px; box-shadow: var(--shadow);
}
.rating .stars { font-size: 1.3rem; }
.rating-text { color: var(--muted); font-size: .95rem; }
.rating-text strong { color: var(--plum); }
.g-logo {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 600; color: #4285f4; border: 2px solid #e8e8ee; font-size: .95rem;
}
.reviews-more { text-align: center; margin-top: 40px; }

/* CTA */
.cta { background: var(--plum); color: var(--blush); padding: 64px 0; }
.cta h2 { color: var(--white); }
.cta p { margin: 0; opacity: .85; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }

/* Footer */
.site-footer { background: var(--plum-dark); color: rgba(240, 225, 225, .7); padding: 28px 0; font-size: .85rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.site-footer p { margin: 0; }
.site-footer strong { color: var(--blush); font-weight: 500; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { max-width: 400px; margin: 0 auto; }
  .photo-badge { left: 12px; }
  .cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .quotes { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .brand-name { font-size: 1rem; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 64px 0; }
}
