/* ==========================================================
   Medcule — Services page (larger, more readable)
   ========================================================== */

/* ---------- Overview domain cards ---------- */
#overview { gap: 24px; }
#overview .card { padding: 34px 30px; border-radius: 24px; }
#overview .icon-box { width: 66px; height: 66px; border-radius: 18px; margin-bottom: 22px; }
#overview .icon-box svg { width: 32px; height: 32px; }
#overview h3 { font-size: 1.35rem; margin-bottom: 10px; }
#overview p { font-size: 1.02rem; line-height: 1.65; }
#overview .card-link { font-size: .98rem; margin-top: 20px; }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { padding: 30px 26px; border-radius: 24px; background: #fff; border: 1px solid #e3ecf6; box-shadow: 0 6px 18px rgba(11,58,120,.05);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.why-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(11,58,120,.12); }
.wc-ic { width: 60px; height: 60px; border-radius: 17px; display: grid; place-items: center; color: #fff; margin-bottom: 20px;
  background: linear-gradient(135deg, #2aa6f2 0%, #1e6fd0 45%, #0b3a78 100%); box-shadow: 0 12px 24px rgba(30,111,208,.25); }
.why-card:nth-child(even) .wc-ic { background: linear-gradient(135deg, #8cc63f, #12b76a 55%, #0e9f5c); box-shadow: 0 12px 24px rgba(18,183,106,.25); }
.wc-ic svg { width: 28px; height: 28px; }
.why-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.why-card p { font-size: .98rem; line-height: 1.6; }

/* ---------- Domain detail tabs: bigger text ---------- */
.tabs-wrap { grid-template-columns: 340px 1fr; gap: 30px; }
.tab-btn { font-size: 1.02rem; padding: 18px 20px; border-radius: 18px; }
.tab-btn .tb-ic { width: 46px; height: 46px; }
.tab-btn .tb-ic svg { width: 24px; height: 24px; }
.panel-head { padding: 44px 48px; }
.panel-head h3 { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.3rem); }
.panel-head p { font-size: 1.1rem; max-width: 52ch; }
.panel-body { padding: 44px 48px; }
.panel-body h4 { font-size: 1.15rem; margin-bottom: 18px; }
.sub-grid { gap: 16px; }
.sub-item { padding: 18px; border-radius: 16px; }
.sub-item .si-n { width: 34px; height: 34px; font-size: .88rem; }
.sub-item strong { font-size: 1.04rem; margin-bottom: 2px; }
.sub-item span:not(.si-n) { font-size: .94rem; line-height: 1.5; }
.chip { font-size: .92rem; padding: 9px 18px; }

/* ---------- Standards ---------- */
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s var(--ease); }

/* ---------- Process & FAQ readability ---------- */
.step h3 { font-size: 1.15rem; }
.step p { font-size: .98rem; }
.faq-q { font-size: 1.08rem; }
.faq-a p { font-size: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .tabs-wrap { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  /* Full, readable cards on phones (no tiny tiles) */
  #overview { grid-template-columns: 1fr !important; gap: 14px; }
  #overview .card { padding: 24px 22px !important; display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: start; }
  #overview .card-num { display: none !important; }
  #overview .icon-box { grid-row: span 3; width: 56px !important; height: 56px !important; margin: 0 !important; border-radius: 15px !important; }
  #overview .icon-box svg { width: 28px !important; height: 28px !important; }
  #overview h3 { font-size: 1.15rem !important; line-height: 1.3 !important; margin: 0 0 6px !important; hyphens: manual !important; }
  #overview p { display: block !important; font-size: .95rem; }
  #overview .card-link { display: inline-flex !important; margin-top: 10px; font-size: .92rem; }

  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-card { padding: 22px 20px; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; }
  .wc-ic { grid-row: span 2; width: 52px; height: 52px; border-radius: 15px; margin: 0; }
  .wc-ic svg { width: 26px; height: 26px; }
  .why-card h3 { font-size: 1.1rem; margin: 2px 0 4px; }
  .why-card p { font-size: .94rem; }

  .tab-btn { font-size: .92rem !important; min-height: 54px; padding: 12px 10px !important; }
  .panel-head, .panel-body { padding: 28px 22px; }
  .panel-head h3 { font-size: 1.6rem !important; }
  .panel-head p { font-size: 1rem; }
  .sub-item strong { font-size: 1rem; }
  .sub-item span:not(.si-n) { font-size: .92rem; }


  .step h3 { font-size: 1.05rem; }
  .step p { font-size: .92rem; }
  .faq-q { font-size: 1rem; }
}

/* ---------- Global standards ---------- */
.std-label { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.std-label svg { width: 18px; height: 18px; color: var(--green-600); }
.std-label::after { content: ""; flex: 1; height: 1px; background: #dbe6f2; }
.std-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.std { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid #e3ecf6; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.std:hover { transform: translateY(-3px); border-color: rgba(30,136,229,.35); box-shadow: 0 16px 34px rgba(11,58,120,.09); }
.std-badge { width: 54px; height: 54px; flex-shrink: 0; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #e6f1fc, #e7f8ef); color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: 1rem; letter-spacing: .02em; transition: background .35s, color .35s; }
.std-badge svg { width: 24px; height: 24px; }
.std:hover .std-badge { background: var(--grad); color: #fff; }
.std > div { min-width: 0; }
.std strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: #071a3d; line-height: 1.2; }
.std small { display: block; margin-top: 4px; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.gxp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid #e3ecf6; border-radius: 18px; overflow: hidden; }
.gxp > div { padding: 20px 22px; border-left: 1px solid #e3ecf6; }
.gxp > div:first-child { border-left: 0; }
.gxp b { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--navy); padding: 4px 12px; border-radius: 999px; background: var(--bg-mint); margin-bottom: 8px; }
.gxp span { display: block; color: var(--text); font-size: .92rem; line-height: 1.4; }
@media (max-width: 1000px) {
  .std-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gxp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gxp > div:nth-child(3) { border-left: 0; }
  .gxp > div:nth-child(n+3) { border-top: 1px solid #e3ecf6; }
}
@media (max-width: 600px) {
  .std-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 30px; }
  .std { padding: 16px; gap: 14px; }
  .std-badge { width: 48px; height: 48px; border-radius: 14px; font-size: .92rem; }
  .std strong { font-size: 1.08rem; }
  .gxp > div { padding: 16px; }
  .gxp b { font-size: .95rem; }
  .gxp span { font-size: .84rem; }
}
