/*
Theme Name: Medical Care
Theme URI: https://example.com/medical-care
Author: OpenAI
Author URI: https://openai.com
Description: A clean, responsive WordPress theme for medical equipment suppliers, clinics, healthcare providers, and surgical care services.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: medical-care
Tags: custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, threaded-comments, translation-ready
*/

:root {
  --medical-blue: #155eef;
  --medical-navy: #102a43;
  --medical-teal: #18a6a6;
  --medical-text: #334155;
  --medical-muted: #64748b;
  --medical-bg: #f5f9ff;
  --medical-white: #ffffff;
  --medical-border: #dbe7f3;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--medical-text);
  background: var(--medical-white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
a { color: var(--medical-blue); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--medical-border); }
.header-inner, .container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-branding { display: flex; align-items: center; gap: 12px; }
.custom-logo { max-height: 58px; width: auto; }
.site-title { margin: 0; color: var(--medical-navy); font-size: 1.35rem; line-height: 1.2; font-weight: 800; }
.site-title a { color: inherit; }
.site-description { margin: 3px 0 0; color: var(--medical-muted); font-size: .85rem; }
.primary-navigation ul { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.primary-navigation a { color: var(--medical-navy); font-weight: 650; font-size: .95rem; }
.hero { padding: 86px 0; background: linear-gradient(120deg, #eaf3ff 0%, #f5fbff 55%, #e7fbf8 100%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 44px; }
.eyebrow { display: inline-block; color: #087f8c; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin: 12px 0 18px; max-width: 720px; color: var(--medical-navy); font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.08; letter-spacing: -.04em; }
.hero p { max-width: 640px; font-size: 1.12rem; color: #52657a; }
.hero-card { padding: 28px; border: 1px solid #d4e6f5; border-radius: 24px; background: rgba(255,255,255,.86); box-shadow: 0 18px 45px rgba(16,42,67,.08); }
.medical-symbol { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 18px; border-radius: 22px; color: white; background: linear-gradient(135deg, var(--medical-blue), var(--medical-teal)); font-size: 2.5rem; font-weight: 800; }
.hero-card h2 { margin: 0 0 8px; color: var(--medical-navy); font-size: 1.4rem; }
.button, .wp-block-button__link { display: inline-block; padding: 13px 21px; border: 0; border-radius: 9px; background: var(--medical-blue); color: #fff; font-weight: 750; cursor: pointer; }
.button:hover, .wp-block-button__link:hover { color: #fff; background: #1048bd; text-decoration: none; }
.button-secondary { color: var(--medical-navy); background: #fff; border: 1px solid var(--medical-border); margin-left: 8px; }
.section { padding: 70px 0; }
.section-soft { background: var(--medical-bg); }
.section-heading { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-heading h2 { margin: 8px 0 10px; color: var(--medical-navy); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.2; }
.section-heading p { color: var(--medical-muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { padding: 26px; border: 1px solid var(--medical-border); border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(16,42,67,.035); }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: #087f8c; background: #e3f8f6; font-size: 1.5rem; }
.service-card h3 { margin: 16px 0 8px; color: var(--medical-navy); font-size: 1.2rem; }
.service-card p { margin: 0; color: var(--medical-muted); }
.cta { padding: 38px; border-radius: 20px; color: white; background: linear-gradient(120deg, #1247b8, #0a8e99); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { margin: 0 0 6px; color: #fff; }
.cta p { margin: 0; color: #e4f6ff; }
.cta .button { background: white; color: var(--medical-navy); white-space: nowrap; }
.content-area { padding: 52px 0; min-height: 48vh; }
.entry-title { color: var(--medical-navy); line-height: 1.2; }
.entry-meta { color: var(--medical-muted); font-size: .9rem; }
.post-card { padding: 26px 0; border-bottom: 1px solid var(--medical-border); }
.site-footer { padding: 28px 0; background: #0c2238; color: #d8e5f2; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.site-footer a { color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 800px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  .primary-navigation ul { flex-wrap: wrap; gap: 12px 18px; }
  .hero { padding: 58px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .cards { grid-template-columns: 1fr; }
  .cta, .footer-inner { align-items: flex-start; flex-direction: column; }
  .button-secondary { margin: 10px 0 0; }
}
