/*
Theme Name: TatCare
Theme URI: https://tatcarezorg.nl
Author: TatCare
Description: Maatwerk WordPress-thema voor TatCare. Professionele, rustige zorgwebsite met homepage, begeleiding, over TatCare, werkwijze en contact.
Version: 1.0.0
Text Domain: tatcare
*/

:root {
  --tc-navy: #073b73;
  --tc-blue: #168de2;
  --tc-light: #f4f8fc;
  --tc-white: #ffffff;
  --tc-text: #17202a;
  --tc-muted: #5e6b78;
  --tc-line: #dfe8f1;
  --tc-shadow: 0 18px 45px rgba(7, 59, 115, .10);
  --tc-radius: 22px;
  --tc-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--tc-text);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }

.tc-container { width: min(calc(100% - 40px), var(--tc-max)); margin-inline: auto; }
.tc-section { padding: 92px 0; }
.tc-section--soft { background: var(--tc-light); }
.tc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--tc-blue);
}
.tc-kicker::before { content: ""; width: 26px; height: 2px; background: var(--tc-blue); border-radius: 99px; }
.tc-title { margin: 10px 0 16px; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.08; letter-spacing: -.04em; color: var(--tc-navy); }
.tc-subtitle { margin: 0; font-size: 1.08rem; color: var(--tc-muted); max-width: 720px; }

/* Header */
.tc-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(223,232,241,.85); }
.admin-bar .tc-header { top: 32px; }
.tc-header__inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.tc-brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; font-size: 1.34rem; color: var(--tc-navy); letter-spacing: -.02em; }
.tc-brand svg { width: 43px; height: 43px; flex: 0 0 43px; }
.tc-nav { display: flex; align-items: center; gap: 28px; }
.tc-nav ul { list-style: none; display: flex; align-items: center; gap: 26px; padding: 0; margin: 0; }
.tc-nav a { font-size: .95rem; font-weight: 680; color: #29445f; transition: .2s ease; }
.tc-nav a:hover, .tc-nav .current-menu-item > a { color: var(--tc-blue); }
.tc-nav li:last-child > a { padding: 12px 18px; border-radius: 12px; background: var(--tc-navy); color: #fff; box-shadow: 0 9px 22px rgba(7,59,115,.18); }
.tc-nav li:last-child > a:hover { background: #0a4b8f; color: #fff; }
.custom-logo { width: 43px; height: 43px; object-fit: contain; }
.tc-nav__cta { padding: 12px 18px !important; border-radius: 12px; background: var(--tc-navy); color: #fff !important; box-shadow: 0 9px 22px rgba(7,59,115,.18); }
.tc-menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.tc-menu-toggle span, .tc-menu-toggle span::before, .tc-menu-toggle span::after { display: block; width: 23px; height: 2px; background: var(--tc-navy); position: relative; transition: .2s ease; }
.tc-menu-toggle span::before, .tc-menu-toggle span::after { content: ""; position: absolute; left: 0; }
.tc-menu-toggle span::before { top: -7px; }
.tc-menu-toggle span::after { top: 7px; }

/* Hero */
.tc-hero { position: relative; overflow: hidden; padding: 88px 0 70px; background: linear-gradient(135deg, #f7fbff 0%, #eef6fd 55%, #ffffff 100%); }
.tc-hero::before { content: ""; position: absolute; width: 510px; height: 510px; border-radius: 50%; right: -160px; top: -190px; background: radial-gradient(circle, rgba(22,141,226,.18), rgba(22,141,226,0) 70%); }
.tc-hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.tc-hero h1 { margin: 14px 0 24px; max-width: 720px; font-size: clamp(2.7rem, 6vw, 5.15rem); line-height: .99; letter-spacing: -.055em; color: var(--tc-navy); }
.tc-hero h1 span { color: var(--tc-blue); }
.tc-hero__copy { font-size: 1.14rem; color: var(--tc-muted); max-width: 650px; }
.tc-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 31px; }
.tc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 51px; padding: 0 21px; border-radius: 13px; border: 1px solid transparent; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; cursor: pointer; }
.tc-btn:hover { transform: translateY(-2px); }
.tc-btn--primary { background: var(--tc-navy); color: #fff; box-shadow: 0 14px 28px rgba(7,59,115,.20); }
.tc-btn--secondary { background: #fff; border-color: var(--tc-line); color: var(--tc-navy); }
.tc-hero__visual { position: relative; min-height: 520px; }
.tc-hero__panel { position: absolute; inset: 0; border-radius: 32px; overflow: hidden; background: linear-gradient(150deg, #0a417d, #168de2 68%, #70c3ff); box-shadow: 0 28px 70px rgba(7,59,115,.23); }
.tc-hero__panel::before { content: ""; position: absolute; inset: 0; background: url('assets/images/care-abstract.svg') center/cover no-repeat; opacity: .97; }
.tc-hero__note { position: absolute; left: -32px; bottom: 30px; width: min(310px, 82%); padding: 20px; border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: var(--tc-shadow); }
.tc-hero__note strong { display: block; color: var(--tc-navy); font-size: 1rem; }
.tc-hero__note span { color: var(--tc-muted); font-size: .91rem; }
.tc-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tc-badge { padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.84); border: 1px solid var(--tc-line); color: #31516f; font-size: .88rem; font-weight: 730; }

/* Cards */
.tc-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; }
.tc-card { padding: 28px; background: #fff; border: 1px solid var(--tc-line); border-radius: var(--tc-radius); box-shadow: 0 12px 32px rgba(7,59,115,.05); }
.tc-card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--tc-light); color: var(--tc-blue); margin-bottom: 19px; font-size: 1.25rem; font-weight: 900; }
.tc-card h3 { margin: 0 0 10px; color: var(--tc-navy); font-size: 1.23rem; }
.tc-card p { margin: 0; color: var(--tc-muted); }

/* Split */
.tc-split { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.tc-photo-block { position: relative; min-height: 490px; border-radius: 30px; overflow: hidden; background: linear-gradient(160deg, #d9ebfa, #eff7fd); box-shadow: var(--tc-shadow); }
.tc-photo-block::before { content: ""; position: absolute; inset: 0; background: url('assets/images/tatcare-people.svg') center/cover no-repeat; }
.tc-checks { display: grid; gap: 14px; margin: 25px 0 0; }
.tc-check { display: flex; align-items: flex-start; gap: 12px; color: #39536d; }
.tc-check::before { content: "✓"; display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: #e8f4fd; color: var(--tc-blue); font-weight: 900; }

/* Steps */
.tc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.tc-step { padding: 25px 23px; border-radius: 19px; background: #fff; border: 1px solid var(--tc-line); }
.tc-step__num { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--tc-navy); color: #fff; font-weight: 900; margin-bottom: 18px; }
.tc-step h3 { margin: 0 0 8px; color: var(--tc-navy); font-size: 1.08rem; }
.tc-step p { margin: 0; color: var(--tc-muted); font-size: .94rem; }

/* CTA */
.tc-cta { padding: 40px; border-radius: 28px; background: linear-gradient(135deg, var(--tc-navy), #0b4e93 62%, var(--tc-blue)); color: #fff; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; box-shadow: 0 24px 60px rgba(7,59,115,.22); }
.tc-cta h2 { margin: 0 0 9px; font-size: clamp(1.7rem, 3vw, 2.65rem); letter-spacing: -.035em; }
.tc-cta p { margin: 0; color: rgba(255,255,255,.82); max-width: 700px; }
.tc-cta .tc-btn { background: #fff; color: var(--tc-navy); }

/* Internal pages */
.tc-page-hero { padding: 78px 0 58px; background: linear-gradient(135deg, #f7fbff, #eef6fd); border-bottom: 1px solid var(--tc-line); }
.tc-page-hero h1 { margin: 12px 0 14px; font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: 1.02; letter-spacing: -.05em; color: var(--tc-navy); }
.tc-content { padding: 74px 0 94px; }
.tc-prose { max-width: 820px; }
.tc-prose h2 { color: var(--tc-navy); font-size: 1.8rem; margin-top: 38px; }
.tc-prose p, .tc-prose li { color: #4d6072; }
.tc-service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
.tc-service { padding: 26px; border-radius: 19px; border: 1px solid var(--tc-line); background: #fff; }
.tc-service h3 { color: var(--tc-navy); margin: 0 0 8px; }
.tc-service p { margin: 0; color: var(--tc-muted); }

/* Contact */
.tc-contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 46px; align-items: start; }
.tc-contact-card { padding: 30px; background: var(--tc-navy); color: #fff; border-radius: 24px; }
.tc-contact-card h2 { margin-top: 0; }
.tc-contact-card p { color: rgba(255,255,255,.8); }
.tc-contact-line { padding: 15px 0; border-top: 1px solid rgba(255,255,255,.14); }
.tc-contact-line strong { display: block; font-size: .84rem; text-transform: uppercase; letter-spacing: .08em; color: #91cff8; }
.tc-form { padding: 30px; border: 1px solid var(--tc-line); border-radius: 24px; box-shadow: var(--tc-shadow); background: #fff; }
.tc-field { margin-bottom: 17px; }
.tc-field label { display: block; margin-bottom: 7px; font-weight: 760; color: var(--tc-navy); }
.tc-field input, .tc-field textarea { width: 100%; border: 1px solid #cfdae5; border-radius: 12px; padding: 13px 14px; outline: 0; transition: .2s ease; }
.tc-field input:focus, .tc-field textarea:focus { border-color: var(--tc-blue); box-shadow: 0 0 0 3px rgba(22,141,226,.12); }
.tc-field textarea { min-height: 160px; resize: vertical; }
.tc-form-note { font-size: .84rem; color: var(--tc-muted); }
.tc-alert { margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; font-weight: 650; }
.tc-alert--success { background: #eaf8ef; color: #176b37; }
.tc-alert--error { background: #fff0f0; color: #9a2828; }

/* Footer */
.tc-footer { padding: 58px 0 28px; background: #052b54; color: #fff; }
.tc-footer__grid { display: grid; grid-template-columns: 1.4fr .75fr .85fr; gap: 45px; }
.tc-footer .tc-brand { color: #fff; }
.tc-footer p, .tc-footer a { color: rgba(255,255,255,.72); }
.tc-footer h4 { margin: 0 0 12px; color: #fff; }
.tc-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tc-footer__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 18px; color: rgba(255,255,255,.56); font-size: .87rem; }

/* 404 */
.tc-404 { text-align: center; padding: 130px 0; }
.tc-404 h1 { font-size: 6rem; margin: 0; color: var(--tc-navy); }

@media (max-width: 960px) {
  .admin-bar .tc-header { top: 46px; }
  .tc-menu-toggle { display: inline-flex; }
  .tc-nav { position: absolute; top: 78px; left: 0; right: 0; display: none; padding: 20px; background: #fff; border-bottom: 1px solid var(--tc-line); box-shadow: 0 14px 30px rgba(7,59,115,.08); }
  .tc-nav.is-open { display: block; }
  .tc-nav ul { align-items: stretch; flex-direction: column; gap: 7px; }
  .tc-nav a { display: block; padding: 10px 4px; }
  .tc-nav__cta { text-align: center; margin-top: 5px; }
  .tc-hero__grid, .tc-split, .tc-contact-grid { grid-template-columns: 1fr; }
  .tc-hero { padding-top: 64px; }
  .tc-hero__visual { min-height: 430px; }
  .tc-hero__note { left: 20px; }
  .tc-grid-3 { grid-template-columns: 1fr 1fr; }
  .tc-steps { grid-template-columns: 1fr 1fr; }
  .tc-cta { grid-template-columns: 1fr; }
  .tc-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .tc-container { width: min(calc(100% - 28px), var(--tc-max)); }
  .tc-section { padding: 68px 0; }
  .tc-header__inner { min-height: 70px; }
  .tc-nav { top: 70px; }
  .tc-hero h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .tc-hero__visual { min-height: 355px; }
  .tc-grid-3, .tc-steps, .tc-service-grid, .tc-footer__grid { grid-template-columns: 1fr; }
  .tc-card, .tc-form, .tc-contact-card { padding: 23px; }
  .tc-cta { padding: 30px 24px; }
  .tc-footer__bottom { flex-direction: column; }
}
