/* =========================================================
   T.E.C.H Home Care website styles
   ---------------------------------------------------------
   WANT DIFFERENT COLORS? Change ONLY the color codes
   in the box below, save, and re-upload the folder.
   ========================================================= */
:root {
  --primary: #744A68;       /* main color: T.E.C.H. plum (header, buttons) */
  --primary-dark: #4E2F46;  /* darker plum (footer, headings, hover) */
  --accent: #E48C9C;        /* rose pink from the logo */
  --gold: #D7B77A;          /* gold from the logo */
  --background: #FFFBFC;    /* page background: soft white */
  --tint: #F7EFF2;          /* shaded sections: blush */
  --text: #2E2530;          /* main text color */

  --accent-text: #A84E6F;   /* darker rose used for small text so it's easy to read */
  --muted: #625A63;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(78, 47, 70, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--background);
}
h1, h2, h3, h4 { font-family: "Lora", Georgia, serif; line-height: 1.2; margin: 0 0 .5em; color: var(--primary-dark); }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--primary); }
img, svg { max-width: 100%; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.hidden { display: none; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--tint); position: sticky; top: 0; z-index: 10; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 16px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary-dark); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: "Lora", serif; font-weight: 700; font-size: 1.3rem; }
.brand-name em { font-style: normal; color: var(--accent-text); }
.brand-tag { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.logo-mark { width: 58px; height: auto; flex: none; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav a { text-decoration: none; color: var(--text); font-weight: 600; }
.site-nav a:hover, .site-nav a.active { color: var(--primary); }
.site-nav a.btn { color: var(--white); }
.nav-toggle, .nav-button { display: none; }

/* Buttons */
.btn { display: inline-block; background: var(--primary); color: var(--white); padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--primary); cursor: pointer; font-size: 1rem; font-family: inherit; transition: background .2s, transform .2s; }
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); }
.btn-small { padding: 9px 18px; }
.btn-ghost { background: transparent; color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: var(--white); }
.btn-light { background: var(--white); color: var(--primary-dark); border-color: var(--white); }
.btn-light:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " \2192"; }

/* Hero */
.hero { padding: 80px 0; background: linear-gradient(160deg, var(--background) 55%, var(--tint)); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--accent-text); margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.hero-card, .aside { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border-top: 6px solid var(--gold); }
.steps { padding-left: 1.2em; margin: 0; }
.steps li { margin-bottom: .8em; }
.page-hero { padding: 64px 0 48px; background: linear-gradient(160deg, var(--background) 55%, var(--tint)); }
.thanks { padding: 120px 0; }
.thanks .lead { margin: 0 auto 1.5em; }

/* Sections */
.section { padding: 72px 0; }
.section-tint { background: var(--tint); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card p, .feature p, .value p { color: var(--muted); margin: 0; }
.icon { width: 52px; height: 52px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; margin-bottom: 16px; }
.icon svg, .feature svg { width: 28px; height: 28px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.feature { text-align: center; padding: 8px 12px; }
.feature svg { width: 44px; height: 44px; margin-bottom: 12px; }
.value { background: var(--white); border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow); }
.value svg { width: 40px; height: 40px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 10px; }
.pill { display: inline-block; background: var(--tint); color: var(--accent-text); font-weight: 700; font-size: .8rem; padding: 3px 12px; border-radius: 999px; margin: 0 0 10px !important; }
.crosses { list-style: none; padding: 0; margin: 0 0 1em; }
.crosses li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.crosses li::before { content: "\00d7"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-dark); color: var(--white); font-weight: 700; display: grid; place-items: center; line-height: 1; }
.muted { color: var(--muted); }
.mt { margin-top: 1.5em; }
.hint { font-weight: 400; font-size: .85rem; color: var(--muted); }
.feature-band { background: linear-gradient(120deg, var(--tint), var(--background)); }
.split-feature { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }
.big-icon { background: var(--white); border-radius: 50%; aspect-ratio: 1; max-width: 300px; width: 100%; margin: 0 auto; display: grid; place-content: center; text-align: center; box-shadow: var(--shadow); border: 6px solid var(--gold); }
.big-icon svg { width: 90px; height: 90px; margin: 0 auto 8px; fill: var(--accent); stroke: var(--primary); stroke-width: 1; }
.big-icon p { font-family: "Lora", serif; font-weight: 600; color: var(--primary-dark); margin: 0; }
.about-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.about-logo { width: 100%; max-width: 340px; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); justify-self: center; background: #fff; }
.footer-tagline { font-style: italic; margin-top: 12px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 5px; height: 9px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.notice { background: var(--white); border-left: 6px solid var(--accent); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }

/* Caregiver / partner split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-card { background: var(--tint); border-radius: var(--radius); padding: 40px; }
.split-card-alt { background: var(--primary); color: var(--white); }
.split-card-alt h2 { color: var(--white); }
.split-card-alt .eyebrow { color: var(--gold); }

/* Call to action band */
.cta { background: var(--primary); color: var(--white); padding: 56px 0; }
.cta h2 { color: var(--white); }
.cta p { margin: 0; opacity: .9; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Forms */
.form-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.form-wrap.single { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
.form { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); display: flex; flex-wrap: wrap; gap: 18px 4%; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; width: 100%; border: 0; padding: 0; margin: 0; }
.field.half { width: 48%; }
.field legend { padding: 0; margin-bottom: 8px; }
.req { color: #b4432f; }
input, select, textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid #d8d2c8; border-radius: 10px; background: var(--white); color: var(--text); width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(116, 74, 104, .15); }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); }
.form-small { width: 100%; font-size: .85rem; color: var(--muted); margin: 0; }

/* Footer */
.site-footer { background: var(--primary-dark); color: #efe3eb; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: var(--white); font-family: inherit; font-size: 1rem; }
.site-footer a { display: block; color: #efe3eb; text-decoration: none; margin-bottom: 8px; }
.site-footer a:hover { color: var(--gold); }
.brand-light { color: var(--white) !important; margin-bottom: 4px; }
.brand-light .logo-mark { background: var(--white); border-radius: 12px; padding: 4px; }
.brand-light .brand-name em { color: var(--accent); }
.brand-light .brand-tag { color: #d9c6d3; }
.footer-note { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 32px; padding-top: 20px; font-size: .85rem; opacity: .8; }
.footer-note p { margin: 0 0 4px; }

/* Phones and tablets */
@media (max-width: 900px) {
  .hero-grid, .two-col, .split, .form-wrap, .footer-grid, .split-feature, .about-hero { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .big-icon { max-width: 220px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .nav-button { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
  .nav-button span { width: 26px; height: 3px; background: var(--primary-dark); border-radius: 2px; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 4px; box-shadow: var(--shadow); }
  .site-nav a { padding: 10px 0; }
  .site-nav a.btn { text-align: center; margin-top: 8px; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0; }
  .section { padding: 52px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field.half { width: 100%; }
  .form, .hero-card, .aside, .split-card { padding: 24px; }
  .brand-name { font-size: 1.1rem; }
  .brand-tag { font-size: .6rem; }
  .logo-mark { width: 46px; }
}
