/* assets/css/style.css
   Senior Hearts - Lightweight responsive UI. No frameworks.
   Color system: warm, soft tones.
*/
:root{
  --bg:#fffaf8;
  --surface:#ffffff;
  --ink:#1f2937;
  --muted:#6b7280;
  --brand:#c5687a;         /* soft rose */
  --brand-2:#f3a683;       /* peach */
  --accent:#7ab3b3;        /* gentle teal */
  --ok:#16a34a;
  --err:#dc2626;
  --ring: rgba(197,104,122,0.35);
  --shadow: 0 10px 25px rgba(0,0,0,0.08);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Segoe UI Emoji";
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}

.container{
  width:100%;
  max-width:1100px;
  margin:0 auto;
  padding:0 1rem;
}

.btn{
  display:inline-block;
  padding:.8rem 1.1rem;
  border-radius:.6rem;
  border:1px solid transparent;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  color:#fff;
  font-weight:600;
  letter-spacing:.2px;
  transition:transform .08s ease, box-shadow .2s ease;
  box-shadow:var(--shadow);
}
.btn:hover{transform:translateY(-1px)}
.btn:focus-visible{outline:2px solid var(--ring); outline-offset:2px}

.btn-secondary{
  background:var(--surface);
  color:var(--ink);
  border-color:#e5e7eb;
}

.badge{display:inline-block;padding:.2rem .55rem;border-radius:999px;background:#fde8ec;color:#9b2c4a;font-size:.78rem;font-weight:600}

/* Header */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.9);
  backdrop-filter:saturate(180%) blur(8px);
  border-bottom:1px solid #f3f4f6;
}
.navbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 0}
.brand{display:flex;align-items:center;gap:.6rem;font-weight:800;font-size:1.15rem;letter-spacing:.3px}
.brand-mark{width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,var(--brand),var(--accent));box-shadow:var(--shadow)}

.nav-links{display:flex;gap:1rem;align-items:center}
.nav-links a{padding:.5rem .7rem;border-radius:.5rem;color:var(--ink);font-weight:600}
.nav-links a.active, .nav-links a:hover{background:#f9fafb}

.nav-cta{display:flex;gap:.6rem;align-items:center}

.hamb{display:none;background:none;border:0;padding:.4rem}
.hamb svg{width:26px;height:26px}

/* Mobile menu */
.mobile-menu{display:none;flex-direction:column;padding:.5rem 0;border-top:1px solid #f3f4f6}
.mobile-menu a{padding:.7rem;border-radius:.5rem}
.show{display:flex}

/* Hero */
.hero{
  position:relative;
  background:
    radial-gradient(1200px 500px at 10% -10%, #ffe9df 0%, transparent 60%),
    radial-gradient(1200px 500px at 110% 10%, #eaf4f4 0%, transparent 60%);
  padding:3.4rem 0 2.6rem;
}
.hero-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:2rem;align-items:center}
.hero h1{font-size:2.1rem;line-height:1.15;margin:.2rem 0 .6rem}
.hero p{color:var(--muted);font-size:1.05rem;margin:0 0 1.2rem}
.hero-card{background:var(--surface);border:1px solid #f3f4f6;border-radius:1rem;padding:1.2rem;box-shadow:var(--shadow)}

.input, textarea{
  width:100%;padding:.9rem .95rem;border-radius:.7rem;border:1px solid #e5e7eb;background:#fff;
  font:inherit; color:var(--ink);
}
textarea{min-height:120px;resize:vertical}
.input:focus, textarea:focus{outline:2px solid var(--ring);border-color:transparent}

.form-row{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}
.form-row-1{display:grid;grid-template-columns:1fr;gap:.8rem}
.form-actions{display:flex;gap:.6rem;align-items:center;margin-top:.6rem}

/* Sections */
.section{padding:2.4rem 0}
.section h2{font-size:1.6rem;margin:0 0 .4rem}
.section p.lead{color:var(--muted);margin:0 0 1.2rem}

.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.card{
  background:var(--surface);border:1px solid #f3f4f6;border-radius:1rem;padding:1rem;box-shadow:var(--shadow)
}
.card h3{margin:.4rem 0 .3rem}
.card p{color:var(--muted)}

.icon{
  width:38px;height:38px;border-radius:.6rem;background:linear-gradient(135deg,var(--accent),#d0ecec);
  display:inline-flex;align-items:center;justify-content:center;box-shadow:var(--shadow)
}
.icon svg{width:22px;height:22px}

/* Contact info */
.kv{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.kv .card{display:flex;gap:.8rem;align-items:flex-start}

/* Footer */
.site-footer{margin-top:3rem;border-top:1px solid #f3f4f6;background:#fff}
.site-footer .row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.8rem;padding:1.2rem 0}
.site-footer nav{display:flex;gap:1rem}

/* Utils */
.center{text-align:center}
.muted{color:var(--muted)}
.hidden{display:none}

/* Responsive */
@media (max-width: 960px){
  .hero-grid{grid-template-columns:1fr}
  .form-row{grid-template-columns:1fr}
  .kv{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr 1fr}
  .nav-links{display:none}
  .hamb{display:inline-flex}
  .mobile-menu a{background:#fff;margin:.3rem 0;border:1px solid #f3f4f6}
}
@media (max-width: 640px){
  .grid-3{grid-template-columns:1fr}
  .site-footer .row{flex-direction:column;align-items:flex-start}
}


/* Testimonials carousel */
.testimonial-slider{
  display:flex;overflow:hidden;scroll-behavior:smooth;gap:1rem;
}
.testimonial-slider .card{
  flex:0 0 100%;
  max-width:100%;
}
@media(min-width:768px){
  .testimonial-slider .card{flex:0 0 50%}
}
@media(min-width:1024px){
  .testimonial-slider .card{flex:0 0 33.33%}
}

/* Carousel */
.carousel{position:relative; overflow:hidden; border-radius:1rem; background:#fff; border:1px solid #f3f4f6; box-shadow:var(--shadow)}
.carousel-track{display:flex; transition:transform .45s ease}
.carousel-slide{min-width:100%; padding:1.2rem}
.carousel-quote{font-size:1.05rem; line-height:1.6}
.carousel-meta{margin-top:.6rem; color:var(--muted); font-weight:600}
.carousel-nav{position:absolute; inset:0; display:flex; justify-content:space-between; align-items:center; pointer-events:none}
.carousel-btn{pointer-events:auto; border:1px solid #e5e7eb; background:#fff; width:38px; height:38px; border-radius:.7rem; display:grid; place-items:center; box-shadow:var(--shadow)}
.carousel-btn:focus-visible{outline:2px solid var(--ring)}
.carousel-dots{display:flex; gap:.4rem; justify-content:center; padding:.8rem 0}
.carousel-dot{width:8px; height:8px; border-radius:50%; background:#e5e7eb; border:0}
.carousel-dot.active{background:var(--brand)}
@media (max-width: 640px){
  .carousel-slide{padding:.9rem}
}
