/*
Theme Name: Risamed
Theme URI: https://risamed.com
Author: Risamed
Description: Risamed sağlık turizmi büyüme, satış ve operasyon teması.
Version: 1.0.15
Text Domain: risamed
*/

:root {
  --navy: #09295a;
  --navy-deep: #061d40;
  --teal: #20b6be;
  --teal-dark: #007279;
  --ink: #123044;
  --muted: #60717d;
  --line: #c9d9de;
  --pale: #eaf6f7;
  --soft: #f4f8fa;
  --white: #fff;
  --gold: #c9972e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, Arial, sans-serif; color: var(--ink); background: var(--white); letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: Montserrat, Inter, sans-serif; letter-spacing: 0; margin-top: 0; }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); line-height: 1.06; color: var(--navy); margin-bottom: 0; }
p { line-height: 1.65; }

.site-header { position: fixed; z-index: 20; top: 0; left: 0; width: 100%; height: 74px; display: flex; align-items: center; padding: 0 4vw; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(201,217,222,.8); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; width: 186px; height: 58px; overflow: hidden; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
body.admin-bar .site-header { top: 32px; }
.desktop-nav { display: flex; gap: 1.9rem; margin-left: auto; font-size: .9rem; font-weight: 600; color: #294253; }
.desktop-nav a { padding: 27px 0; border-bottom: 2px solid transparent; }
.desktop-nav a:hover { color: var(--teal-dark); border-bottom-color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: .8rem; margin-left: 2rem; }
.language { width: 36px; height: 36px; border: 1px solid var(--line); background: white; color: var(--navy); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .8rem 1.25rem; border: 1px solid var(--teal); background: var(--teal); color: var(--navy-deep); font-weight: 700; transition: .2s ease; }
.button:hover { background: #44c9ce; transform: translateY(-1px); }
.button-small { min-height: 40px; padding: .55rem 1rem; font-size: .88rem; }
.button-secondary { background: rgba(6,29,64,.3); border-color: rgba(255,255,255,.55); color: white; }
.button-secondary:hover { background: rgba(255,255,255,.15); }
.menu-button, .mobile-nav { display: none; }

.hero { position: relative; min-height: min(780px, 92vh); margin-top: 74px; overflow: hidden; color: white; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,29,64,.94) 0%, rgba(6,29,64,.78) 40%, rgba(6,29,64,.2) 70%, rgba(6,29,64,.05) 100%); }
.hero-content { position: relative; z-index: 2; width: min(760px, 54vw); padding: clamp(5rem, 10vh, 8rem) 0 3.5rem 6vw; }
.eyebrow { margin: 0 0 1rem; color: #76d8dc; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-en { text-transform: none; }
.eyebrow.dark { color: var(--teal-dark); }
.hero h1 { font-size: clamp(2.7rem, 5vw, 5rem); line-height: 1.02; max-width: 780px; margin-bottom: 1.5rem; }
.hero-copy { max-width: 650px; font-size: clamp(1rem, 1.4vw, 1.18rem); color: #e5eef2; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 700px; margin: 3.3rem 0 0; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.28); }
.hero-metrics div { padding-right: 1rem; }
.hero-metrics dt { font-weight: 700; color: white; }
.hero-metrics dd { margin: .35rem 0 0; color: #c7d7df; font-size: .82rem; }

.section { padding: 7rem 6vw; }
.problem-band { padding: 6rem 6vw; background: var(--soft); }
.section-intro { display: grid; grid-template-columns: 1.35fr .65fr; gap: 4rem; align-items: end; }
.section-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -2rem; }
.section-intro p:last-child { color: var(--muted); margin-bottom: 0; }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.problem-grid article { min-height: 230px; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.problem-grid span { font-family: Montserrat; color: var(--teal-dark); font-size: .75rem; }
.problem-grid h3 { font-size: 1.15rem; margin: 3rem 0 .6rem; color: var(--navy); }
.problem-grid p { color: var(--muted); font-size: .9rem; }

.section-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .5fr); gap: 4rem; align-items: end; margin-bottom: 3.5rem; }
.section-heading > p { color: var(--muted); margin-bottom: 0; }
.section-heading > a { color: var(--teal-dark); font-weight: 700; justify-self: end; }
.solution-layout { display: grid; grid-template-columns: .4fr 1fr; border: 1px solid var(--line); }
.solution-tabs { display: flex; flex-direction: column; background: var(--navy); }
.solution-tab { min-height: 72px; display: flex; gap: 1rem; align-items: center; padding: 1rem 1.3rem; border: 0; border-bottom: 1px solid rgba(255,255,255,.12); background: transparent; color: #cad9e3; text-align: left; font-weight: 600; }
.solution-tab span { color: #7c9aaf; font-size: .72rem; }
.solution-tab.active { color: var(--navy); background: var(--teal); }
.solution-tab.active span { color: var(--navy); }
.solution-panel { min-height: 440px; display: grid; grid-template-columns: 1fr .75fr; gap: 3rem; padding: 3rem; background: var(--soft); }
.solution-label { color: var(--teal-dark); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.solution-panel h3 { font-size: clamp(1.6rem, 2.5vw, 2.5rem); color: var(--navy); }
.solution-panel p, .solution-panel li { color: var(--muted); }
.solution-panel ul { padding-left: 1.2rem; }
.solution-panel a { display: inline-block; margin-top: 1rem; color: var(--teal-dark); font-weight: 700; }
.workflow { display: flex; flex-direction: column; justify-content: center; }
.workflow div { display: flex; gap: 1.4rem; align-items: center; min-height: 70px; border-bottom: 1px solid var(--line); }
.workflow b { color: var(--teal-dark); font-size: .72rem; }
.workflow span { font-weight: 600; color: var(--navy); }

.method { background: var(--pale); }
.method-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--teal); }
.method-steps li { padding: 1.8rem 1.5rem 1rem 0; }
.method-steps span { color: var(--teal-dark); font-weight: 700; font-size: .75rem; }
.method-steps h3 { margin: 2rem 0 .5rem; color: var(--navy); }
.method-steps p { color: var(--muted); font-size: .9rem; }

.package-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.package-grid article { min-height: 430px; padding: 2rem 1.5rem; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.package-grid article:last-child { border-right: 0; }
.package-grid article.featured { background: var(--navy); color: white; transform: translateY(-12px); border-top: 5px solid var(--teal); }
.package-index { color: var(--teal-dark); font-size: .75rem; font-weight: 700; min-height: 20px; }
.featured .package-index { color: #78d9dd; }
.package-grid h3 { font-size: 1.65rem; margin-bottom: .5rem; color: var(--navy); }
.featured h3 { color: white; }
.package-line { color: var(--muted); font-weight: 600; }
.featured .package-line, .featured li { color: #d8e5ec; }
.package-grid ul { padding-left: 1.1rem; color: var(--muted); font-size: .9rem; line-height: 1.9; }
.package-grid a { margin-top: auto; color: var(--teal-dark); font-size: .86rem; font-weight: 700; }
.featured a { color: #78d9dd; }

.luwi { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy-deep); color: white; padding: 7rem 6vw; gap: 7vw; align-items: center; }
.luwi h2 { color: white; }
.luwi-content > p:not(.eyebrow), .luwi-content li { color: #c9d8e1; }
.luwi-content ul { padding-left: 1.1rem; margin-bottom: 2rem; line-height: 1.9; }
.luwi-console { background: #102e55; border: 1px solid rgba(118,216,220,.35); box-shadow: 0 30px 70px rgba(0,0,0,.24); }
.console-head { height: 52px; display: flex; align-items: center; gap: .45rem; padding: 0 1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.console-head > span { width: 8px; height: 8px; border-radius: 50%; background: #6d8299; }
.console-head b { margin-left: auto; font-size: .68rem; color: #7fcfd4; letter-spacing: .08em; }
.console-body { display: grid; grid-template-columns: 1fr .9fr; gap: 1rem; padding: 1.15rem; }
.chat-stream { display: flex; flex-direction: column; gap: .75rem; }
.message { max-width: 92%; padding: .9rem 1rem; font-size: .82rem; line-height: 1.45; }
.message small { display: block; margin-bottom: .3rem; color: #89dce1; font-weight: 700; letter-spacing: .04em; }
.patient { align-self: flex-end; background: #e6f1f5; color: var(--ink); }
.patient small { color: #3b6179; }
.luwi-message { align-self: flex-start; background: var(--teal); color: var(--navy-deep); }
.luwi-message small { color: var(--navy-deep); opacity: .78; }
.ops-panel { display: grid; gap: .8rem; }
.data-card, .handoff-card { padding: 1rem; background: rgba(6,29,64,.58); border: 1px solid rgba(118,216,220,.25); }
.data-card h3, .handoff-card h3 { margin: 0 0 .75rem; color: #fff; font-size: .9rem; letter-spacing: .04em; }
.data-grid { display: grid; gap: .55rem; }
.data-row { display: grid; grid-template-columns: 92px 1fr; gap: .8rem; align-items: start; padding-bottom: .5rem; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .78rem; }
.data-row:last-child { border-bottom: 0; padding-bottom: 0; }
.data-row span:first-child { color: #8eaabd; }
.data-row span:last-child { color: #e5eef2; font-weight: 600; }
.status-line { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .75rem; }
.status-line h3 { margin-bottom: 0; }
.status-pill { padding: .35rem .55rem; background: rgba(32,182,190,.16); border: 1px solid rgba(32,182,190,.55); color: #8ff1f3; font-size: .72rem; font-weight: 700; }
.owner { display: flex; gap: .75rem; align-items: center; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: var(--navy-deep); font-weight: 800; flex: 0 0 38px; }
.owner b { display: block; color: white; font-size: .86rem; }
.owner small { display: block; color: #9eb1bf; margin-top: .2rem; }
.console-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.1); }
.console-stats div { padding: 1rem; border-right: 1px solid rgba(255,255,255,.1); }
.console-stats div:last-child { border-right: 0; }
.console-stats span { display: block; margin-top: .3rem; color: #9eb1bf; font-size: .72rem; }

.resources { background: var(--soft); }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.resource-card { min-height: 260px; padding: 1.7rem; background: white; border-top: 3px solid var(--teal); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.resource-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(6,29,64,.1); }
.resource-card > p { color: var(--teal-dark); text-transform: uppercase; font-size: .72rem; font-weight: 700; }
.resource-grid h3 { color: var(--navy); font-size: 1.25rem; line-height: 1.35; }
.resource-card span { margin-top: auto; color: var(--muted); font-size: .8rem; }

.about { display: grid; grid-template-columns: 1fr .75fr; gap: 6rem; align-items: start; }
.about > div:last-child { padding-top: 2rem; color: var(--muted); font-size: 1.05rem; }
.future { display: grid; grid-template-columns: 1fr .75fr; gap: 6rem; align-items: start; background: var(--pale); }
.future > div:last-child { padding-top: 2rem; color: var(--muted); font-size: 1.05rem; }

.resource-main { min-height: 70vh; padding-top: 74px; background: var(--soft); }
.resource-hero { padding: 7rem 6vw 4rem; background: var(--pale); }
.resource-hero h1, .resource-article-head h1 { max-width: 980px; margin-bottom: 1.5rem; color: var(--navy); font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 1.05; }
.resource-hero > p:last-child { max-width: 760px; color: var(--muted); font-size: 1.08rem; }
.resource-library { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 4rem 6vw 7rem; }
.resource-library .resource-card h2 { margin-bottom: 1.5rem; color: var(--navy); font-size: 1.35rem; line-height: 1.35; }
.resource-article { background: white; }
.resource-article-head { padding: 6rem max(6vw, calc((100vw - 1080px) / 2)) 4rem; background: var(--pale); }
.resource-back { display: inline-block; margin-bottom: 3rem; color: var(--teal-dark); font-weight: 700; }
.resource-summary { max-width: 800px; color: var(--muted); font-size: 1.15rem; }
.resource-article-head > span { display: inline-block; margin-top: 1rem; color: var(--teal-dark); font-size: .85rem; font-weight: 700; }
.resource-article-body { width: min(820px, 88vw); margin: 0 auto; padding: 5rem 0 7rem; }
.resource-article-body section { margin-bottom: 3.5rem; }
.resource-article-body h2 { margin-bottom: 1.2rem; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.resource-article-body p, .resource-article-body li { color: var(--muted); font-size: 1.02rem; line-height: 1.8; }
.resource-article-body li { margin-bottom: .7rem; }
.resource-cta { margin-top: 5rem; padding: 2.5rem; background: var(--navy); color: white; }
.resource-cta h2 { color: white; }
.resource-cta p { color: #c9d8e1; }

.legal-main { min-height: 70vh; padding-top: 74px; background: white; }
.legal-head { padding: 6rem max(6vw, calc((100vw - 1080px) / 2)) 4rem; background: var(--pale); }
.legal-head h1 { max-width: 900px; margin-bottom: 1.5rem; color: var(--navy); font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.05; }
.legal-head > p:not(.eyebrow) { max-width: 820px; color: var(--muted); font-size: 1.08rem; }
.legal-head > span { display: inline-block; margin-top: 1rem; color: var(--teal-dark); font-size: .82rem; font-weight: 700; }
.legal-body { width: min(820px, 88vw); margin: 0 auto; padding: 5rem 0 7rem; }
.legal-body section { margin-bottom: 3.5rem; }
.legal-body h2 { margin-bottom: 1.2rem; font-size: clamp(1.6rem, 3vw, 2.35rem); }
.legal-body p, .legal-body li { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.legal-body li { margin-bottom: .65rem; }
.legal-transition-note { margin-bottom: 4rem; padding: 1.5rem; border-left: 4px solid var(--gold); background: #fff9eb; }
.legal-transition-note strong { color: var(--navy); }
.legal-transition-note p { margin-bottom: 0; }

.discovery { display: grid; grid-template-columns: .8fr 1fr; gap: 6vw; background: var(--navy); color: white; }
.discovery h2 { color: white; }
.discovery-copy > p:not(.eyebrow), .discovery-copy li { color: #c9d8e1; }
.discovery-copy ul { padding-left: 1.1rem; line-height: 1.9; }
.discovery-form { padding: 2rem; background: white; color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; margin-bottom: 1rem; font-size: .78rem; font-weight: 700; color: var(--navy); }
input, select, textarea { width: 100%; margin-top: .45rem; padding: .85rem; border: 1px solid var(--line); border-radius: 0; background: #fbfdfe; color: var(--ink); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(32,182,190,.13); }
.consent { display: flex; align-items: flex-start; gap: .6rem; font-weight: 500; color: var(--muted); line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin: .1rem 0 0; }
.consent a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 2px; }
.form-status { min-height: 24px; margin-bottom: 0; font-size: .88rem; color: var(--teal-dark); }
.form-status.success { color: #087f6d; }
.form-status.error { color: #b42318; }
.form-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.discovery-form button:disabled { cursor: wait; opacity: .65; }

.cookie-notice { position: fixed; z-index: 100; right: 1.25rem; bottom: 1.25rem; width: min(460px, calc(100vw - 2.5rem)); padding: 1.25rem; background: white; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(6,29,64,.18); }
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0 0 1rem; color: var(--muted); font-size: .85rem; line-height: 1.55; }
.cookie-notice a { color: var(--teal-dark); font-weight: 700; text-decoration: underline; }
.cookie-dismiss { min-height: 38px; padding: .5rem 1rem; border: 1px solid var(--teal); background: var(--teal); color: var(--navy-deep); font-weight: 700; }

footer { display: grid; grid-template-columns: 1.25fr repeat(4, 1fr); gap: 2.4rem; padding: 4rem 6vw 2rem; background: #03152e; color: #b8c9d4; }
footer img { width: 180px; height: auto; opacity: .95; }
footer b { display: block; color: white; margin-bottom: 1rem; }
footer a { display: block; font-size: .85rem; margin: .65rem 0; }
footer a:hover { color: #78d9dd; }
.footer-brand p { font-size: .85rem; }
.footer-company p { margin: .65rem 0; color: #b8c9d4; font-size: .85rem; line-height: 1.55; }
.copyright { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }

@media (max-width: 980px) {
  .desktop-nav, .header-actions .language, .header-actions .button { display: none; }
  .site-header { height: 68px; }
  .brand { width: 160px; height: 52px; }
  .header-actions { margin-left: auto; }
  .menu-button { display: flex; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; border: 0; background: transparent; }
  .menu-button span { width: 22px; height: 2px; background: var(--navy); }
  .mobile-nav { position: absolute; top: 68px; left: 0; width: 100%; display: none; flex-direction: column; padding: 1rem 6vw 1.5rem; background: white; border-bottom: 1px solid var(--line); }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
  .hero { margin-top: 68px; min-height: 780px; }
  .hero-image { object-position: 65% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(6,29,64,.96) 0%, rgba(6,29,64,.82) 60%, rgba(6,29,64,.35) 100%); }
  .hero-content { width: 82vw; padding-left: 6vw; }
  .section-intro, .section-heading, .about, .future { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-intro .eyebrow { margin-bottom: 0; }
  .problem-grid, .package-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-layout { grid-template-columns: 1fr; }
  .solution-tabs { display: grid; grid-template-columns: repeat(2, 1fr); }
  .solution-panel { grid-template-columns: 1fr; }
  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .luwi, .discovery { grid-template-columns: 1fr; }
  .console-body { grid-template-columns: 1fr; }
  .resource-library { grid-template-columns: 1fr; }
  footer { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 640px) {
  h2 { font-size: 2rem; }
  .section, .problem-band, .luwi, .discovery { padding: 4.5rem 1.2rem; }
  .hero { min-height: 730px; }
  .hero-content { width: 100%; padding: 4.5rem 1.2rem 2rem; }
  .hero h1 { font-size: 2.6rem; overflow-wrap: anywhere; }
  .hero-copy { font-size: 1rem; }
  .hero-metrics { grid-template-columns: 1fr; gap: .8rem; }
  .hero-metrics div { padding-bottom: .7rem; border-bottom: 1px solid rgba(255,255,255,.15); }
  .problem-grid, .package-grid, .resource-grid, .method-steps { grid-template-columns: 1fr; }
  .resource-main { padding-top: 68px; }
  .legal-main { padding-top: 68px; }
  .resource-hero, .resource-article-head { padding: 4.5rem 1.2rem 3rem; }
  .legal-head { padding: 4.5rem 1.2rem 3rem; }
  .resource-library { padding: 3rem 1.2rem 4.5rem; }
  .resource-article-body { width: auto; padding: 3.5rem 1.2rem 4.5rem; }
  .legal-body { width: auto; padding: 3.5rem 1.2rem 4.5rem; }
  .resource-cta { padding: 1.5rem; }
  .cookie-notice { right: .75rem; bottom: .75rem; width: calc(100vw - 1.5rem); }
  .package-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .package-grid article.featured { transform: none; }
  .solution-tabs { grid-template-columns: 1fr; }
  .solution-panel { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .discovery-form { padding: 1.2rem; }
  footer { grid-template-columns: 1fr; padding: 3rem 1.2rem 1.5rem; }
}
