/* ═══════════════════════════════════════════════════════════
   Dial2care — marketing website styles
   Brand: teal #2BB5A8 · navy #1E3A48 · blue #4F7CC4
   ═══════════════════════════════════════════════════════════ */

:root {
  --accent:      #2BB5A8;
  --accent-dark: #1F9488;
  --blue:        #4F7CC4;
  --navy:        #1E3A48;
  --text-1:      #1E3A48;
  --text-2:      #4A6470;
  --text-3:      #8AA0A8;
  --bg:          #FFFFFF;
  --bg-soft:     #F4F7F9;
  --bg-tint:     #EAF6F4;
  --border:      #E2EAED;
  --danger:      #DC4F4F;
  --radius:      14px;
  --radius-lg:   22px;
  --shadow:      0 4px 24px rgba(21,48,61,0.07);
  --shadow-lg:   0 18px 50px rgba(21,48,61,0.14);
  --maxw:        1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--text-1);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-family: inherit; font-weight: 700; cursor: pointer;
  border: none; border-radius: 999px; text-align: center;
  transition: transform .12s ease, box-shadow .18s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 22px rgba(43,181,168,0.32);
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 10px 28px rgba(43,181,168,0.42); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ── Navbar ────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.nav.scrolled { box-shadow: 0 4px 20px rgba(21,48,61,0.07); border-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand-logo { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a { font-weight: 600; font-size: 15px; color: var(--text-2); transition: color .15s; }
.nav-links > a:hover { color: var(--accent-dark); }
.nav-links .nav-cta { color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .25s; }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 150px 0 90px;
  background:
    radial-gradient(1000px 500px at 85% -10%, var(--bg-tint), transparent 60%),
    radial-gradient(700px 400px at 5% 15%, rgba(79,124,196,0.08), transparent 60%),
    var(--bg);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 14px; color: var(--accent-dark);
  background: var(--bg-tint); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.06; font-weight: 800; letter-spacing: -1.5px; }
.grad {
  background: linear-gradient(100deg, var(--accent), var(--blue));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lead { font-size: 18px; color: var(--text-2); margin: 22px 0 30px; max-width: 560px; }
.lead strong { color: var(--text-1); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { color: var(--accent-dark); font-size: 17px; }
.trust-item span { color: var(--text-3); font-size: 13.5px; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-photo {
  aspect-ratio: 4/5; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--bg-tint), #dbeeeb 60%, #cfe6f2);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}
.hero-badge {
  position: absolute; bottom: 24px; left: -22px;
  background: #fff; border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--border);
}
.hero-badge strong { display: block; font-size: 14px; }
.hero-badge span { font-size: 12.5px; color: var(--text-3); }
.badge-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(43,181,168,0.18); }

.photo-hint {
  color: var(--text-3); font-weight: 600; font-size: 14px; text-align: center; padding: 16px; line-height: 1.5;
}
.photo-hint small { color: var(--text-3); font-weight: 500; font-size: 12px; opacity: .8; }

/* ── Trust strip ───────────────────────────────────────── */
.strip { background: var(--navy); color: #fff; padding: 34px 0; }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat b { display: block; color: #fff; font-size: 17px; }
.stat span { color: rgba(255,255,255,0.66); font-size: 13.5px; }

/* ── Sections ──────────────────────────────────────────── */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.kicker { font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-dark); }
.kicker-light { color: rgba(255,255,255,0.85); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -1px; margin: 12px 0 14px; }
.section-head p { color: var(--text-2); font-size: 17px; }

/* ── Service cards ─────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent-border, #cdeae6); }
.card-featured { border-color: var(--accent); box-shadow: 0 18px 46px rgba(43,181,168,0.18); position: relative; }
.card-featured::before {
  content: "Most requested"; position: absolute; top: -13px; left: 30px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
}
.card-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  font-size: 28px; background: var(--bg-tint); margin-bottom: 18px;
}
.card h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 15px; margin-bottom: 16px; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text-1); font-size: 14.5px; font-weight: 500; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 19px; height: 19px; border-radius: 50%; background: var(--bg-tint); color: var(--accent-dark);
  font-size: 12px; font-weight: 800; display: grid; place-items: center;
}
.ticks-lg li { font-size: 16px; margin-bottom: 4px; }

/* ── Steps ─────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 8px; }
.step { text-align: center; padding: 0 16px; }
.step-num {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(140deg, var(--accent), var(--blue)); color: #fff;
  font-size: 22px; font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(43,181,168,0.3);
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 15px; }
.step-line { height: 2px; background: linear-gradient(90deg, var(--accent), transparent); margin-top: 27px; min-width: 40px; align-self: start; }

/* ── Two column (caregivers) ───────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.media-photo {
  aspect-ratio: 5/4; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #dbeeeb, #cfe6f2);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.two-col-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -1px; margin: 12px 0 16px; }
.two-col-copy > p { color: var(--text-2); font-size: 17px; margin-bottom: 22px; }
.two-col-copy .ticks { margin-bottom: 30px; }

/* ── Download ──────────────────────────────────────────── */
.download { padding-top: 40px; }
.download-card {
  background: linear-gradient(140deg, var(--navy), #16303d);
  border-radius: 30px; overflow: hidden;
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; align-items: center;
  padding: 56px; color: #fff; position: relative;
}
.download-card::after {
  content: ""; position: absolute; top: -40%; right: -10%;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,181,168,0.35), transparent 62%);
}
.download-copy { position: relative; z-index: 1; }
.download-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -1px; margin: 12px 0 12px; }
.download-copy > p { color: rgba(255,255,255,0.78); font-size: 17px; max-width: 460px; }
.app-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
.app-group h4 { font-size: 15px; font-weight: 700; margin-bottom: 12px; color: rgba(255,255,255,0.92); }
.badges { display: flex; flex-direction: column; gap: 12px; }
.store-badge {
  display: flex; flex-direction: column; justify-content: center;
  background: #000; border: 1px solid rgba(255,255,255,0.2); border-radius: 12px;
  padding: 9px 18px; min-width: 168px; transition: transform .15s, background .15s;
}
.store-badge:hover { transform: translateY(-2px); background: #111; }
.store-badge .store-sub { font-size: 11px; color: rgba(255,255,255,0.7); line-height: 1.2; }
.store-badge .store-name { font-size: 18px; font-weight: 700; color: #fff; line-height: 1.2; }
.store-badge.coming-soon { opacity: .82; cursor: default; }
.store-badge.coming-soon:hover { transform: none; }

.download-visual { position: relative; z-index: 1; display: flex; justify-content: center; }
.phone {
  width: 200px; aspect-ratio: 9/19; background: #0d1f28; border-radius: 34px;
  border: 8px solid #24404d; box-shadow: var(--shadow-lg); position: relative;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 70px; height: 16px; background: #24404d; border-radius: 999px; }
.phone-screen {
  position: absolute; inset: 6px; border-radius: 26px;
  background: linear-gradient(160deg, #fff, var(--bg-tint));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.phone-logo { width: 120px; }

/* ── Gallery ───────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 16px; }
.g-item {
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(150deg, #e4f1ef, #d7e8f0);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  object-fit: cover; width: 100%; height: 100%;
}
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-video { background: linear-gradient(150deg, #23404d, #16303d); color: #fff; }
.g-video .photo-hint, .g-video .photo-hint small { color: rgba(255,255,255,0.85); }
.g-item iframe, .g-item video { width: 100%; height: 100%; border: 0; display: block; }

/* ── Testimonials ──────────────────────────────────────── */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow); position: relative;
}
.quote::before {
  content: "“"; position: absolute; top: 6px; left: 22px;
  font-size: 70px; color: var(--bg-tint); font-family: Georgia, serif; line-height: 1;
}
.quote p { position: relative; font-size: 16px; color: var(--text-1); margin-bottom: 18px; z-index: 1; }
.quote footer strong { display: block; color: var(--accent-dark); font-size: 15px; }
.quote footer span { color: var(--text-3); font-size: 13px; }

/* ── Contact ───────────────────────────────────────────── */
.contact-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -1px; margin: 12px 0 14px; }
.contact-copy > p { color: var(--text-2); font-size: 17px; margin-bottom: 26px; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; }
.contact-list a { color: var(--accent-dark); font-weight: 600; }
.contact-list em { color: var(--text-3); font-size: 13px; font-weight: 500; }
.ci { width: 40px; height: 40px; border-radius: 12px; background: var(--bg-tint); display: grid; place-items: center; font-size: 18px; }

.contact-form {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--text-1);
  background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: 11px;
  padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(43,181,168,0.14);
}
.field textarea { resize: vertical; }
.form-note { margin-top: 12px; font-size: 14px; color: var(--accent-dark); font-weight: 600; text-align: center; min-height: 20px; }

/* ── Footer ────────────────────────────────────────────── */
.footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 66px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 50px; }
.footer-logo { height: 46px; background: #fff; padding: 8px 12px; border-radius: 12px; margin-bottom: 16px; }
.footer-brand p { font-size: 15px; max-width: 320px; margin-bottom: 20px; }
.socials { display: flex; gap: 12px; }
.soc {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255,255,255,0.08); color: #fff; transition: background .18s, transform .15s, color .18s;
}
.soc:hover { background: var(--accent); transform: translateY(-3px); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-col h5 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14.5px; padding: 5px 0; color: rgba(255,255,255,0.7); transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13.5px; color: rgba(255,255,255,0.6);
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 420px; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .cards, .quotes { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step-line { display: none; }
  .two-col, .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .download-card { grid-template-columns: 1fr; padding: 40px 28px; }
  .app-groups { grid-template-columns: 1fr; }
  .download-visual { order: -1; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 72px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px; box-shadow: var(--shadow);
    transform: translateY(-140%); transition: transform .28s ease; z-index: 90;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links > a { padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
  .nav-links .nav-cta { margin-top: 12px; border-bottom: none; }
  .nav-toggle { display: flex; }
  .hero { padding-top: 120px; }
  .hero-badge { left: 8px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 460px) {
  .strip-inner { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .g-wide, .g-tall { grid-column: auto; grid-row: auto; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
