/* ===== Strano Medical Limited — SML Hub ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #1a1a2e;
  font-size: 15px;
}
a { color: inherit; }
img { display: block; }
.wrap { max-width: 1200px; margin: 0 auto; }

/* ===== HEADER / NAV ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 32px;
  gap: 16px;
}
.brand img { height: 72px; width: auto; object-fit: contain; }
.main-nav { display: flex; gap: 2px; flex-wrap: wrap; }
.main-nav a {
  padding: 8px 15px;
  border-radius: 6px;
  color: #374151;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a:hover { background: #f0f4ff; }
.main-nav a.active { color: #fff; background: #1d4ed8; }
.main-nav a.active:hover { background: #1d4ed8; }
.nav-cta {
  background: #1d4ed8;
  color: #fff;
  padding: 9px 20px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.nav-cta:hover { background: #1746c4; }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: #1d4ed8; }

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  background-color: #0f1d4a;
  background-image: linear-gradient(rgba(10,20,48,0.5), rgba(15,29,74,0.5)), url('images/aboutus.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}
.hero-inner { position: relative; max-width: 1000px; margin: 0 auto; padding: 32px; text-align: center; }
.hero h1 { font-size: 42px; font-weight: 900; color: #fff; margin: 0 0 14px; line-height: 1.1; letter-spacing: -1px; }
.hero h1 span { color: #60a5fa; }
.hero p { font-size: 17px; color: rgba(255,255,255,0.92); line-height: 1.6; max-width: 620px; margin: 0 auto 24px; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-light { background: #fff; color: #1d4ed8; padding: 14px 28px; border-radius: 8px; font-weight: 800; text-decoration: none; font-size: 15px; }
.btn-outline { border: 2px solid rgba(255,255,255,0.4); color: #fff; padding: 14px 28px; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 15px; }

/* ===== SECTION SHARED ===== */
section { padding: 80px 32px; }
.eyebrow { color: #1d4ed8; font-weight: 700; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 10px; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head h2 { font-size: 38px; font-weight: 900; color: #0f1d4a; margin: 0 0 12px; }
.section-head p { color: #64748b; font-size: 16px; max-width: 560px; margin: 0 auto; }

/* ===== ABOUT ===== */
.about { background: #f8fafc; }
.about-eyebrow { text-align: center; margin-bottom: 16px; }
.quote { border-left: 4px solid #1d4ed8; padding-left: 24px; margin: 0 auto 40px; max-width: 720px; }
.quote p { font-style: italic; color: #1d4ed8; font-size: 17px; line-height: 1.7; margin: 0 0 8px; }
.quote cite { color: #64748b; font-size: 14px; font-style: normal; font-weight: 600; }
.about-body { max-width: 860px; margin: 0 auto; }
.about-body h2 { font-size: 34px; font-weight: 900; color: #0f1d4a; margin-bottom: 20px; text-align: center; }
.about-body p { color: #374151; line-height: 1.85; font-size: 15px; margin-bottom: 16px; }
.about-body p:last-child { margin-bottom: 0; }

/* ===== SERVICES ===== */
.services { background: #fff; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}
.card-banner {
  height: 180px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  display: block;
  text-decoration: none;
}
.card-banner img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card-banner .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%); }
.card-banner .partner { position: absolute; bottom: 12px; left: 16px; color: #fff; font-weight: 800; font-size: 15px; }
.card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.tag { display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 12px; align-self: flex-start; }
.card-body p { color: #475569; line-height: 1.75; font-size: 14px; margin: 0 0 18px; flex: 1; }
.visit { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; text-decoration: none; }

/* ===== PROJECTS ===== */
.projects { background: #f0f4ff; }
.platforms { display: flex; flex-direction: column; gap: 32px; }
.platform {
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(0,0,0,0.09);
  border: 1px solid #e2e8f0;
  background: #fff;
}
.platform.rev { flex-direction: row-reverse; }
.platform-img { flex: 0 0 480px; position: relative; min-height: 300px; overflow: hidden; }
.platform-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.platform-content { flex: 1; padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.platform-content h3 { font-size: 28px; font-weight: 900; color: #0f1d4a; margin: 0 0 8px; }
.platform-urls { color: #64748b; font-size: 13px; margin-bottom: 14px; }
.platform-urls a { text-decoration: none; }
.platform-headline { font-size: 17px; font-weight: 700; color: #1e293b; margin-bottom: 14px; line-height: 1.4; }
.platform-content > p.desc { color: #475569; line-height: 1.8; font-size: 15px; margin-bottom: 28px; }
.platform-cta { display: inline-flex; align-items: center; gap: 8px; color: #fff; padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none; align-self: flex-start; }

/* ===== CONTACT ===== */
.contact { background: #0f1d4a; }
.contact-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.contact-inner .eyebrow { color: #93c5fd; }
.contact-inner h2 { font-size: 40px; font-weight: 900; color: #fff; margin-bottom: 20px; }
.contact-lead { color: rgba(255,255,255,0.8); font-size: 16px; line-height: 1.8; max-width: 560px; margin: 0 auto 48px; }
.form-card { background: #fff; border-radius: 16px; padding: 44px 48px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field { margin-bottom: 0; }
.field.full { grid-column: 1 / -1; }
.field label { color: #374151; font-size: 13px; font-weight: 600; display: block; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  color: #1a1a2e;
  font-size: 14px;
  background: #f9fafb;
  font-family: inherit;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: #1d4ed8; background: #fff; }
.msg-block { margin-bottom: 20px; }
.captcha-block {
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f0f4ff;
  border: 1.5px solid #c7d6ff;
  border-radius: 10px;
  padding: 14px 18px;
  flex-wrap: wrap;
}
.captcha-block .shield { display: flex; align-items: center; gap: 10px; }
.captcha-block .shield .ico { font-size: 22px; }
.captcha-block .shield .t1 { color: #374151; font-size: 13px; font-weight: 700; }
.captcha-block .shield .t2 { color: #64748b; font-size: 13px; }
.captcha-block input {
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 14px;
  color: #1a1a2e;
  font-size: 14px;
  background: #fff;
  width: 90px;
  font-family: inherit;
}
.captcha-block input:focus { outline: none; border-color: #1d4ed8; }
.btn-submit {
  background: #1d4ed8;
  color: #fff;
  padding: 14px;
  border: 0;
  width: 100%;
  border-radius: 8px;
  font-weight: 800;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
}
.btn-submit:hover { background: #1746c4; }
.form-note { text-align: center; color: #94a3b8; font-size: 12px; margin-top: 14px; margin-bottom: 0; }
.form-error { background: #fef2f2; border: 1.5px solid #fecaca; color: #b91c1c; padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 20px; }

/* ===== FOOTER ===== */
.site-footer { background: #070e26; color: #fff; padding: 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-inner .f-title { font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.footer-inner .f-sub { font-size: 12px; color: #6b7280; }
.footer-inner .f-sub + .f-sub { margin-top: 4px; }
.footer-copy { font-size: 12px; color: #4b5563; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #93c5fd; font-size: 13px; text-decoration: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .platform, .platform.rev { flex-direction: column; }
  .platform-img { flex: none; width: 100%; min-height: 240px; }
  .hero h1 { font-size: 38px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px 24px;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-inner { position: relative; }
}
@media (max-width: 560px) {
  section { padding: 56px 20px; }
  .form-card { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ===== LEGAL PAGES (Privacy / Terms) ===== */
.legal { padding: 56px 24px 80px; background: #f8fafc; }
.legal .wrap { max-width: 860px; }
.legal .back-link { display: inline-block; margin-bottom: 20px; color: #1d4ed8; font-weight: 700; text-decoration: none; font-size: 14px; }
.legal .back-link:hover { text-decoration: underline; }
.legal h1 { font-size: 34px; font-weight: 900; color: #0f1d4a; margin: 0 0 6px; letter-spacing: -0.5px; }
.legal .legal-sub { color: #64748b; font-size: 14px; margin-bottom: 30px; }
.legal h2 { font-size: 22px; font-weight: 800; color: #0f1d4a; margin: 34px 0 12px; }
.legal h3 { font-size: 16px; font-weight: 800; color: #1e293b; margin: 22px 0 8px; }
.legal p { color: #374151; line-height: 1.8; font-size: 15px; margin: 0 0 14px; }
.legal ul { color: #374151; line-height: 1.8; font-size: 15px; margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: #1d4ed8; font-weight: 600; }
.legal .legal-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px 22px; margin: 0 0 22px; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 13.5px; }
.legal th, .legal td { border: 1px solid #e2e8f0; padding: 10px 12px; text-align: left; vertical-align: top; color: #374151; line-height: 1.6; }
.legal th { background: #f0f4ff; color: #0f1d4a; font-weight: 700; }
.legal .table-scroll { overflow-x: auto; }
