/*
  RASELAB shared design system.
  Extracted from the original static design drafts (RASELAB_Kurumsal_Websitesi_Taslak.html,
  rase-eticaret.html, rase-pos.html) - the <style> block was byte-identical across all three
  pages, so it is a single shared stylesheet rather than per-page CSS.
*/

:root {
  --navy: #10243b;
  --text: #23344a;
  --muted: #687b91;
  --blue: #087bc3;
  --bright: #108ff0;
  --teal: #22b6c7;
  --line: #e4ecf3;
  --cloud: #f6f9fc;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 23px 70px rgba(20, 57, 93, .085);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background .25s, color .25s;
}

button, input, textarea {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
}

a:focus-visible, button:focus-visible {
  outline: 3px solid #70cbf8;
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

.container {
  width: min(1184px, calc(100% - 64px));
  margin-inline: auto;
}

/* Header / nav */
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid #edf2f7;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: 20px;
}

.logo img {
  display: block;
  width: 161px;
  height: auto;
}

.nav-links {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 38px;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: .01em;
  color: #53667b;
  font-weight: 600;
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-cta, .button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 14px 20px;
  white-space: nowrap;
  transition: transform .2s, background .2s;
}

.nav-cta {
  margin-right: 24px;
}

.nav-cta:hover, .button-primary:hover {
  background: #087bc3;
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  border: 0;
  background: #f2f7fb;
  color: var(--navy);
  padding: 10px;
  border-radius: 10px;
}

.mobile-toggle svg {
  display: block;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: #f2f7fb;
  color: var(--navy);
  flex: 0 0 auto;
  transition: background .2s, color .2s;
}

.theme-toggle .icon-sun {
  display: none;
}

/* Language switcher */
.lang-switch {
  position: relative;
  flex: 0 0 auto;
  margin-inline-end: -18px;
}

.lang-switch summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  background: #f2f7fb;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  user-select: none;
}

.lang-switch summary::-webkit-details-marker {
  display: none;
}

.lang-switch ul {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 150px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.lang-switch a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #53667b;
}

.lang-switch a:hover, .lang-switch a[aria-current="true"] {
  background: var(--cloud);
  color: var(--blue);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #fff 3%, #f8fbfe 58%, #eef8ff 110%);
  border-bottom: 1px solid #edf3f8;
}

/* Banner sağ alta yaslanır; cihazlar metnin bittiği yerden başlayacak şekilde genişlik hesaplanır
   (cihazlar görselin sol %34'ünden sonra başlar → 1 / .66 ≈ 1.52). Sol ve üst kenar maskeyle erir. */
.hero:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(calc((100% - (100% - min(1184px, 100% - 64px)) / 2 - 600px) * 1.52), 1545px);
  aspect-ratio: 1983 / 793;
  background: url("../images/photos/home-hero-bg.webp") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24%), linear-gradient(to bottom, transparent 0, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 24%), linear-gradient(to bottom, transparent 0, #000 22%);
  mask-composite: intersect;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  min-height: 618px;
  padding: 88px 0 92px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #087bc3;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 11px;
}

.eyebrow:before {
  content: "";
  width: 25px;
  height: 2px;
  border-radius: 2px;
  background: #1facc5;
}

.hero h1 {
  font-size: clamp(40px, 5.1vw, 66px);
  letter-spacing: -.06em;
  line-height: 1.1;
  margin: 24px 0 23px;
  font-weight: 750;
}

.hero-copy {
  max-width: 580px;
}

.hero h1 span {
  color: #087bc3;
}

.lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  max-width: 720px;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 35px;
}

.button-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 13px;
  padding: 14px 0;
  color: var(--navy);
}

.button-light svg {
  color: #0c83cf;
}

.hero-foot {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 52px;
  font-size: 12px;
  color: #8191a3;
  font-weight: 600;
  letter-spacing: .03em;
}

.hero-foot .line {
  width: 42px;
  height: 1px;
  background: #bed5e5;
}

/* About illustration */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
}

.about-diagram {
  width: 100%;
  max-width: 340px;
  height: auto;
}

/* Approach visual */
.approach-visual {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding: 16px 20px;
  border: 1px solid #e9eef3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(21, 54, 84, .05);
}

.approach-node {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eaf5ff;
  color: #087bc3;
  flex: 0 0 auto;
}

.approach-node.solution {
  background: #fff4e7;
  color: #b98034;
}

.approach-node svg {
  width: 20px;
  height: 20px;
}

.approach-arrow {
  color: #bcd0de;
  flex: 0 0 auto;
}

.approach-arrow svg {
  width: 34px;
  height: 10px;
  display: block;
}

/* Product cards */
.product-grid .service-card {
  min-height: 340px;
}

/* Generic sections */
.section {
  padding: 100px 0;
}

.section-alt {
  background: #f8fafc;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 36px;
}

.section-heading {
  font-size: clamp(29px, 3.5vw, 43px);
  line-height: 1.2;
  letter-spacing: -.05em;
  margin: 13px 0 0;
}

.section-note {
  max-width: 380px;
  font-size: 13px;
  color: #8291a2;
  line-height: 1.8;
  margin: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}

.service-card {
  min-height: 251px;
  border: 1px solid #e6edf3;
  border-radius: 18px;
  padding: 29px 24px 25px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #cddfec;
}

.service-icon {
  width: 49px;
  height: 49px;
  border-radius: 15px;
  background: #e9f5ff;
  color: #087bc3;
  display: grid;
  place-items: center;
}

.service-icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 1.6;
}

.service-card h3 {
  font-size: 16px;
  letter-spacing: -.02em;
  margin: 27px 0 9px;
}

.service-card p {
  margin: 0;
  font-size: 12px;
  color: #7a8c9d;
  line-height: 1.85;
}

.card-arrow {
  margin-top: auto;
  padding-top: 20px;
  color: #0f8ccf;
  font-size: 18px;
}

/* Product feature cards */
.service-card.feature-card {
  min-height: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* Approach section */
.approach-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 70px;
  align-items: center;
}

.approach-copy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  margin: 22px 0 0;
}

.approach-list {
  border: 1px solid #e9eef3;
  background: #fff;
  border-radius: 20px;
  padding: 9px 27px;
  box-shadow: 0 20px 55px rgba(21, 54, 84, .035);
}

.approach-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  gap: 15px;
  padding: 24px 0;
}

.approach-item + .approach-item {
  border-top: 1px solid #ecf1f5;
}

.number {
  display: grid;
  place-items: center;
  border-radius: 12px;
  width: 38px;
  height: 38px;
  background: #e9f5ff;
  color: #0787ce;
  font-weight: 800;
  font-size: 12px;
}

.approach-item h3 {
  font-size: 15px;
  letter-spacing: -.015em;
  margin: 1px 0 7px;
}

.approach-item p {
  margin: 0;
  color: #8191a1;
  font-size: 12px;
  line-height: 1.8;
}

/* Contact + footer */
.contact {
  padding: 0 0 98px;
  background: #f8fafc;
}

.contact-inner {
  border: 1px solid #dcebf6;
  border-radius: 25px;
  background: linear-gradient(112deg, #fff 0%, #f0f9ff 100%);
  padding: 55px 65px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
}

.contact h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -.05em;
  line-height: 1.2;
  margin: 12px 0 12px;
}

.contact p {
  color: #7890a2;
  font-size: 13px;
  margin: 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-whatsapp {
  background: #0f7a43;
}

.button-whatsapp:hover {
  background: #0b6334;
}

.button-whatsapp svg {
  width: 18px;
  height: 18px;
}

.footer {
  border-top: 1px solid #e8eff5;
  background: #fff;
}

.footer-inner {
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer img {
  width: 136px;
  display: block;
}

.footer p {
  font-size: 11px;
  color: #90a1b1;
  margin: 0;
}

.footer a {
  font-size: 11px;
  color: #5c7590;
}

.footer-links {
  display: flex;
  gap: 24px;
}

/* Responsive breakpoints */
@media (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .approach-grid {
    gap: 35px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-visual {
    min-height: 260px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 36px, 520px);
  }

  .site-header {
    height: 72px;
  }

  .logo img {
    width: 137px;
  }

  .mobile-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-cta {
    display: none;
  }

  .theme-toggle {
    margin-left: auto;
  }

  .lang-switch {
    margin-left: auto;
  }

  .lang-switch ~ .theme-toggle {
    margin-left: 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 20px 40px rgba(14, 49, 78, .07);
    border-bottom: 1px solid #e8f0f7;
    padding: 20px 26px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-grid {
    min-height: auto;
    padding: 65px 0 70px;
  }

  .hero h1 {
    font-size: clamp(39px, 10vw, 53px);
  }

  .lead {
    font-size: 14px;
  }

  .hero-foot {
    margin-top: 34px;
  }

  .section {
    padding: 75px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 28px;
  }

  .section-note {
    margin-top: 16px;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .service-card {
    padding: 20px 17px;
    min-height: 225px;
  }

  .service-card h3 {
    font-size: 14px;
    margin-top: 20px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }

  .approach-list {
    padding: 5px 18px;
  }

  .contact {
    padding-bottom: 70px;
  }

  .contact-inner {
    padding: 34px 27px;
    display: block;
  }

  .contact-actions {
    margin-top: 26px;
  }

  .footer-inner {
    padding: 30px 0;
    flex-wrap: wrap;
  }

  .footer-links {
    gap: 15px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .about-diagram {
    max-width: 260px;
  }
}

@media (max-width: 420px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .footer-links {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *:before, *:after {
    transition: none !important;
  }
}

/* Dark theme */
html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="dark"] body {
  background: #0b1622;
  color: #e7edf3;
}

html[data-theme="dark"] .site-header {
  background: rgba(11, 22, 34, .92);
  border-bottom-color: #1c2a38;
}

html[data-theme="dark"] .logo img, html[data-theme="dark"] .footer img {
  background: #fff;
  padding: 6px 10px;
  border-radius: 10px;
}

html[data-theme="dark"] .nav-links a {
  color: #aebccb;
}

html[data-theme="dark"] .button-light {
  color: #e7edf3;
}

html[data-theme="dark"] .nav-links a:hover {
  color: #5ec2ff;
}

html[data-theme="dark"] .mobile-toggle, html[data-theme="dark"] .theme-toggle {
  background: #16232f;
  color: #dce6f0;
}

html[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

html[data-theme="dark"] .lang-switch summary {
  background: #16232f;
  color: #dce6f0;
}

html[data-theme="dark"] .lang-switch ul {
  background: #0f1c28;
  border-color: #1c2a38;
}

html[data-theme="dark"] .lang-switch a {
  color: #aebccb;
}

html[data-theme="dark"] .lang-switch a:hover, html[data-theme="dark"] .lang-switch a[aria-current="true"] {
  background: #16232f;
  color: #5ec2ff;
}

html[data-theme="dark"] .hero {
  background: linear-gradient(125deg, #0b1622 3%, #0d1b28 58%, #0e2230 110%);
  border-bottom-color: #1a2836;
}

/* Açık banner koyu zeminde gri leke bırakmasın: daha soluk, sol ve üst kenar daha geniş erir */
html[data-theme="dark"] .hero:before {
  opacity: .4;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 42%), linear-gradient(to bottom, transparent 0, #000 35%);
  mask-image: linear-gradient(to right, transparent 0, #000 42%), linear-gradient(to bottom, transparent 0, #000 35%);
}

html[data-theme="dark"] .lead, html[data-theme="dark"] .section-note, html[data-theme="dark"] .approach-copy p, html[data-theme="dark"] .approach-item p, html[data-theme="dark"] .service-card p, html[data-theme="dark"] .contact p {
  color: #9fb0c0;
}

html[data-theme="dark"] .service-card, html[data-theme="dark"] .approach-list, html[data-theme="dark"] .approach-visual {
  background: #101f2c;
  border-color: #1e2e3d;
}

html[data-theme="dark"] .about-diagram circle[stroke="#cfe6f5"] {
  stroke: #24384a;
}

html[data-theme="dark"] .about-diagram line {
  stroke: #223244;
}

html[data-theme="dark"] .approach-list {
  box-shadow: 0 20px 55px rgba(0, 0, 0, .3);
}

html[data-theme="dark"] .section-alt, html[data-theme="dark"] .contact {
  background: #0e1a26;
}

html[data-theme="dark"] .approach-item + .approach-item {
  border-top-color: #1e2e3d;
}

html[data-theme="dark"] .contact-inner {
  background: linear-gradient(112deg, #101f2c 0%, #0d2433 100%);
  border-color: #1e2e3d;
}

html[data-theme="dark"] .footer {
  background: #0b1622;
  border-top-color: #1c2a38;
}

html[data-theme="dark"] .footer p {
  color: #7d8fa1;
}

html[data-theme="dark"] .footer a {
  color: #9fb0c0;
}

/* ÖKC device visuals */
.okc-devices {
  margin: 0;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border-radius: var(--radius);
  background: radial-gradient(circle at 50% 40%, #e3f2fd, #f3f7fb 70%);
}

.okc-devices img {
  display: block;
  width: auto;
  height: 250px;
  filter: drop-shadow(0 24px 30px rgba(16, 36, 59, .22));
}

.integration-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 8px 15px;
  border: 1px solid #cfe6f5;
  border-radius: 999px;
  background: #eef7fe;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.integration-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .18);
}

.okc-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 48px;
  margin-top: 36px;
  align-items: stretch;
}

.okc-copy {
  border: 1px solid #e6edf3;
  border-radius: 18px;
  padding: 30px 34px;
  background: #fff;
}

.okc-copy h3 {
  font-size: 19px;
  letter-spacing: -.02em;
  margin: 0 0 14px;
}

.okc-copy p {
  margin: 0;
  font-size: 14px;
  color: #7a8c9d;
  line-height: 1.85;
}

.okc-copy p + p {
  margin-top: 12px;
}

@media (max-width: 760px) {
  .okc-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .okc-copy {
    padding: 24px 22px;
  }

  .okc-devices {
    padding: 24px 28px;
    gap: 16px;
    margin-inline: auto;
  }

  .okc-devices img {
    height: 220px;
  }
}

html[data-theme="dark"] .okc-devices {
  background: radial-gradient(circle at 50% 40%, #16324a, #0e1a26 70%);
}

html[data-theme="dark"] .okc-devices img {
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .5));
}

html[data-theme="dark"] .integration-badge {
  background: #102536;
  border-color: #1e3a52;
  color: #6cc4f7;
}

html[data-theme="dark"] .okc-copy {
  background: #101f2c;
  border-color: #1e2e3d;
}

html[data-theme="dark"] .okc-copy p {
  color: #9fb0c0;
}

/* Photo-based page components */
.rase-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rase-hero-photo {
  position: relative;
  min-height: 370px;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dce7f0;
  box-shadow: 0 24px 64px rgba(19, 48, 83, .12);
}

.rase-hero-photo img {
  position: absolute;
  inset: 0;
}

.rase-photo-shade {
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(7, 22, 39, .76));
}

.rase-hero-label {
  position: absolute;
  bottom: 27px;
  left: 27px;
  right: 27px;
  color: #fff;
  z-index: 1;
}

.rase-hero-label span {
  display: block;
  font-size: 11px;
  letter-spacing: .16em;
  font-weight: 700;
  opacity: .86;
  margin-bottom: 9px;
}

.rase-hero-label strong {
  display: block;
  font-size: clamp(23px, 2.6vw, 37px);
  line-height: 1.17;
  max-width: 420px;
}

.rase-product-photo {
  position: relative;
  height: 230px;
  overflow: hidden;
  border-radius: 15px;
  background: #e4edf3;
  margin-bottom: 22px;
}

.rase-feature-photo {
  width: 100%;
  height: 190px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 22px;
  background: #dce7f0;
}

/* Yatay (≈2:1) ekran görselleri: sabit yükseklik yerine görselin oranı, kenarlar kırpılmaz */
.rase-feature-photo.rase-feature-photo--wide {
  height: auto;
  aspect-ratio: 870 / 443;
}

.rase-product-photo img, .rase-feature-photo img {
  transition: transform .45s ease;
}

a:hover .rase-product-photo img, .service-card:hover .rase-feature-photo img {
  transform: scale(1.045);
}

.rase-photo-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eaf5ff, #eef0ff);
  color: #087bc3;
}

.rase-photo-placeholder svg {
  width: 56px;
  height: 56px;
  stroke-width: 1.3;
  opacity: .75;
}

.rase-hero-photo.rase-photo-placeholder svg {
  width: 96px;
  height: 96px;
}

.rase-photo-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #12365a;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .1);
}

.rase-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: center;
}

.rase-product-hero .rase-hero-photo {
  min-height: 380px;
}

@media (max-width: 850px) {
  .rase-product-hero {
    grid-template-columns: 1fr;
  }

  .rase-product-hero .rase-hero-photo {
    min-height: 340px;
  }

  .rase-product-photo {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .rase-hero-photo {
    min-height: 300px;
  }

  .rase-product-hero .rase-hero-photo {
    min-height: 280px;
  }

  .rase-feature-photo {
    height: 175px;
  }

  .rase-hero-label {
    left: 19px;
    right: 19px;
    bottom: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rase-product-photo img, .rase-feature-photo img {
    transition: none;
  }
}

html[data-theme="dark"] .rase-hero-photo, html[data-theme="dark"] .rase-product-photo, html[data-theme="dark"] .rase-feature-photo {
  background: #101f2c;
}

html[data-theme="dark"] .rase-hero-photo {
  box-shadow: 0 33px 80px rgba(0, 0, 0, .35);
}

html[data-theme="dark"] .rase-photo-tag {
  background: rgba(16, 31, 44, .92);
  color: #e3edf6;
}

html[data-theme="dark"] .rase-photo-placeholder {
  background: linear-gradient(135deg, #101f2c, #0d1b28);
  color: #6cc4f7;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(18, 140, 74, .35);
  transition: transform .2s, box-shadow .2s;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(18, 140, 74, .45);
}

.whatsapp-float:focus-visible {
  outline: 3px solid #128c7e;
  outline-offset: 3px;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 760px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    transition: none;
  }
}

html[data-theme="dark"] .whatsapp-float {
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
}

/* Hero banner — dar ekranlarda metnin altına iner */
@media (max-width: 1000px) {
  .hero:before {
    width: min(152%, 1100px);
  }

  .hero-grid {
    padding-bottom: calc(min(152vw, 1100px) * .4);
  }
}
