/* ===============================
   FILE: /style.css — rizedis.com
   =============================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

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

:root {
  --primary: #1a6fc4;
  --primary-dark: #135499;
  --accent: #25D366;
  --text: #222;
  --text-soft: #555;
  --bg: #f9fbff;
  --border: #dde8f5;
}

body {
  font-family: 'Nunito', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}
.logo span { color: var(--text-soft); font-weight: 600; }

nav { display: flex; gap: 16px; align-items: center; }
nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
}
nav a[href^="tel"] {
  background: var(--primary);
  color: #fff;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* SLIDER */
.slider img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* HERO */
.hero {
  text-align: center;
  padding: 48px 20px 36px;
  background: linear-gradient(135deg, #eef6ff 0%, #ddeeff 100%);
}
.hero h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin-bottom: 20px;
}
.hero-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background .2s;
}
.hero-btn:hover { background: var(--primary-dark); }

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding: 32px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.grid a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 18px;
  border: 1.5px solid var(--border);
  background: #fff;
  text-decoration: none;
  color: var(--text);
  border-radius: 14px;
  transition: box-shadow .2s, border-color .2s, transform .15s;
}
.grid a:hover {
  box-shadow: 0 4px 20px rgba(26,111,196,.15);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.grid a .icon { font-size: 1.8rem; }
.grid a strong { font-size: 0.95rem; font-weight: 700; }
.grid a small { font-size: 0.8rem; color: var(--text-soft); }

/* WHY */
.why {
  background: var(--primary);
  color: #fff;
  padding: 36px 24px;
  text-align: center;
}
.why h2 { font-size: 1.5rem; margin-bottom: 20px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.why-grid div {
  background: rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* TREATMENT PAGE */
.treatment-page {
  max-width: 820px;
  margin: 40px auto;
  padding: 0 24px 60px;
}
.treatment-page h1 {
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.treatment-page .desc {
  color: var(--text-soft);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.6;
}
.treatment-page img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 24px;
  max-height: 320px;
  object-fit: cover;
}
.treatment-page .content {
  line-height: 1.8;
  font-size: 0.97rem;
  color: var(--text);
}
.treatment-page .content p { margin-bottom: 14px; }
.treatment-page .content h2 {
  font-size: 1.2rem;
  color: var(--primary);
  margin: 24px 0 8px;
}
.cta-box {
  background: linear-gradient(135deg, #eef6ff, #ddeeff);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  margin-top: 32px;
}
.cta-box p { font-size: 1rem; margin-bottom: 14px; color: var(--text-soft); }
.cta-box a {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
}

/* BREADCRUMB */
.breadcrumb {
  padding: 12px 24px;
  font-size: 0.85rem;
  color: var(--text-soft);
  max-width: 820px;
  margin: 0 auto;
}
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* FOOTER */
footer {
  background: #1a2a3a;
  color: #ccc;
  text-align: center;
  padding: 28px 20px;
  font-size: 0.9rem;
  line-height: 1.9;
}
footer a { color: #7db8f0; text-decoration: none; }

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  z-index: 999;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .hero h1 { font-size: 1.4rem; }
  .slider img { height: 220px; }
  header { flex-direction: column; gap: 10px; text-align: center; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px 16px; }
  .why-grid { grid-template-columns: 1fr; }
}
