
/* Tema warna */
:root {
  --red: #c70039;
  --black: #111111;
  --gray-900: #1f1f1f;
  --gray-700: #4a4a4a;
  --gray-400: #9aa0a6;
  --gray-200: #e5e7eb;
  --white: #ffffff;
  --accent: #ff2e63;

  --radius: 12px;
  --shadow: 0 6px 20px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
}

/* Container */
.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--black);

  color: var(--white);

  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: inline-flex;

  gap: 5px;

  align-items: center;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}
.brand-logo {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #8b001f);
  color: var(--white);
  font-size: 18px;
}
.brand-name { letter-spacing: 0.2px; }

.main-nav .nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gray-700);
  color: var(--white);

  padding: 8px 10px;
  border-radius: 8px;
}
.nav-menu {
  display: flex;

  gap: 5px;

  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-menu a {
  color: var(--white);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
}
.nav-menu a:hover,
.nav-menu a:focus {
  background: rgba(255,255,255,0.08);
  outline: none;
}

/* Sections */
.section {
  padding: 60px 0;
  border-bottom: 1px solid var(--gray-200);
}
.section h2 {
  font-size: 28px;
  margin: 0 0 16px 0;
  color: var(--red);
}
.section .section-desc {
  color: var(--gray-700);
  margin-bottom: 20px;
}

/* Hero */
.hero {
  background:
    radial-gradient(1200px 300px at 10% -20%, rgba(199,0,57,0.12), transparent 60%),
    linear-gradient(180deg, #fafafa, #ffffff);
}
.hero .lead {
  font-size: 18px;
  color: var(--gray-700);
}


.hero {
text-align: center;
  padding: 40px 20px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 20px 0 30px;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
}



/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  border: 1px solid var(--gray-200);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
}
.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--black);
}
.btn-small { padding: 8px 12px; font-size: 14px; }

/* Grids */
.about-grid,
.service-grid,
.doctor-grid,
.info-grid,
.visit-grid,
.contact-grid,
.info-center {
  display: grid;
  gap: 18px;
}
.about-grid { grid-template-columns: repeat(2, 1fr); }
.service-grid { grid-template-columns: repeat(3, 1fr); }
.doctor-grid { grid-template-columns: repeat(3, 1fr); }
.info-grid { grid-template-columns: repeat(2, 1fr); }
.visit-grid { grid-template-columns: repeat(3, 1fr); }
.info-center { grid-template-columns: repeat(3, 1fr); }
.contact-grid { grid-template-columns: 1.3fr 1fr; }

/* Service cards */
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
}

/* Doctor cards */
.doctor-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.doctor-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.doctor-card h3 { margin: 12px 16px 0; }
.doctor-card p { margin: 4px 16px 12px; color: var(--gray-700); }
.doctor-card details { margin: 0 16px 12px; }
.doctor-card .btn { margin: 0 16px 16px; }

/* Info cards */
.info-card, .visit-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.form-group {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
input, textarea {
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 10px;
  font: inherit;
}
input:focus, textarea:focus {
  outline: 2px solid var(--red);
  border-color: var(--red);
}
.form-note {
  font-size: 12px;
  color: var(--gray-700);
}

/* Footer */
.site-footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 24px 0;
}
.site-footer a {
  color: var(--white);
  text-decoration: none;
  margin-right: 12px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsif */
@media (max-width: 980px) {
  .card-grid,
  .service-grid,
  .doctor-grid,
  .info-center { grid-template-columns: repeat(2, 1fr); }
  .visit-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-menu { display: none; }
  .main-nav .nav-toggle { display: inline-block; }
  .about-grid,
  .info-grid,
  .card-grid,
  .service-grid,
  .doctor-grid,
  .visit-grid,
  .info-center { grid-template-columns: 1fr; }
}
