/**
 * yrsite.net - Official Brand Theme Stylesheet
 * Palette: Teal (#1e5fa8), Cream (#fbf2df), Mustard (#f0a63e), Hibiscus (#e2536f), Ink (#142238)
 */

:root {
  --teal: #1e5fa8;
  --teal-deep: #123f74;
  --teal-deeper: #0a2a52;
  --teal-bright: #3f8ff0;
  --cream: #fbf2df;
  --cream-soft: #fdf8ed;
  --mustard: #f0a63e;
  --mustard-deep: #d7862a;
  --hibiscus: #e2536f;
  --hibiscus-deep: #c53a58;
  --ink: #142238;
  --ink-soft: #41546e;
  --ink-light: #64748b;
  --card-border: #e6dbcb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.yr-theme {
  margin: 0;
  font-family: 'Cairo', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
}

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: 24px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 100px;
  border: 2px solid transparent;
  transition: all .15s ease;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.btn:active { transform: scale(0.97); }
.btn-mustard { background: var(--mustard); color: var(--ink); }
.btn-mustard:hover { background: var(--mustard-deep); color: #fff; }
.btn-teal { background: var(--teal); color: var(--cream); }
.btn-teal:hover { background: var(--teal-deep); color: #fff; }
.btn-hibiscus { background: var(--hibiscus); color: #fff; }
.btn-hibiscus:hover { background: var(--hibiscus-deep); }
.btn-outline-cream { border-color: var(--cream); color: var(--cream); }
.btn-outline-cream:hover { background: rgba(251, 242, 223, 0.15); }
.btn-outline-ink { border-color: var(--ink); color: var(--ink); }
.btn-outline-ink:hover { background: rgba(20, 34, 56, 0.08); }
.btn-outline-teal { border-color: var(--teal); color: var(--teal); }
.btn-outline-teal:hover { background: rgba(30, 95, 168, 0.1); }

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--cream); }
.logo-badge {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--mustard); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.05rem; flex: none;
}

/* Header & Nav */
header.yr-header { background: var(--teal); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 16px; gap: 20px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { font-size: 0.95rem; color: var(--cream); opacity: 0.88; font-weight: 600; text-decoration: none; }
.nav-links a:hover { opacity: 1; color: var(--mustard); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  font-size: 0.85rem; font-weight: 700;
  border: 2px solid var(--cream); border-radius: 100px; background: transparent; color: var(--cream);
  padding: 6px 14px; cursor: pointer;
}
.lang-toggle:hover { background: rgba(251, 242, 223, 0.14); }

/* Hanging Sign Graphic */
.sign-wrap {
  display: flex; flex-direction: column; align-items: center;
  padding-bottom: 10px; position: relative; z-index: 1;
  animation: yr-sway 6s ease-in-out infinite; transform-origin: top center;
}
@keyframes yr-sway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(1.2deg); }
}
.sign-rope { width: 2px; height: 34px; background: var(--cream); opacity: 0.5; }
.sign-hook {
  width: 20px; height: 20px; border: 3px solid var(--cream); opacity: 0.6;
  border-radius: 50%; border-bottom-color: transparent; margin-bottom: -10px; transform: rotate(200deg);
}
.sign-board {
  background: var(--mustard); border-radius: 20px; padding: 24px;
  width: 100%; max-width: 420px; transform: rotate(-2deg);
  box-shadow: 0 18px 0 -6px rgba(10, 42, 82, 0.25);
}
.sign-inner { background: var(--cream); border-radius: 12px; padding: 18px; }
.sign-url { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.sign-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hibiscus); }
.sign-dot:nth-child(2) { background: var(--mustard-deep); }
.sign-dot:nth-child(3) { background: var(--teal); }
.sign-url span { font-size: 0.75rem; color: var(--ink-soft); margin-inline-start: 8px; font-family: monospace; font-weight: bold; }
.sign-line { height: 10px; border-radius: 6px; background: var(--teal); opacity: 0.18; margin-bottom: 10px; }
.sign-line.w70 { width: 70%; }
.sign-line.w45 { width: 45%; }
.sign-blocks { display: flex; gap: 8px; margin-top: 12px; }
.sign-blocks div { flex: 1; height: 48px; border-radius: 8px; }
.sign-blocks div:nth-child(1) { background: var(--hibiscus); }
.sign-blocks div:nth-child(2) { background: var(--teal); }
.sign-blocks div:nth-child(3) { background: var(--mustard-deep); }

/* Waves */
.wave { display: block; width: 100%; height: 36px; }

/* Sections */
section.yr-sec { padding-block: 70px; }
.section-head { margin-bottom: 44px; max-width: 60ch; }
.section-head h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 900; margin: 0 0 14px; }
.section-head p { opacity: 0.85; font-size: 1.02rem; margin: 0; }
section.on-teal { background: var(--teal); color: var(--cream); }
section.on-teal .section-head p { color: var(--cream); }
section.on-mustard { background: var(--mustard); color: var(--ink); }

/* Cards with hanging circle */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.card {
  position: relative; border-radius: 28px 28px 14px 14px;
  padding: 34px 26px 26px; color: var(--cream);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card::before {
  content: ""; position: absolute;
  top: -14px; inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--cream); opacity: 0.6;
}
html[dir="rtl"] .card::before { transform: translateX(50%); }
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px -14px rgba(10, 42, 82, 0.35); }
.card.c-teal { background: var(--teal); }
.card.c-hibiscus { background: var(--hibiscus); }
.card.c-mustard { background: var(--mustard-deep); }
.card h3 { font-size: 1.18rem; margin: 0 0 10px; font-weight: 800; }
.card p { margin: 0; opacity: 0.92; font-size: 0.94rem; }

/* Steps */
.steps { display: flex; gap: 0; position: relative; margin-top: 20px; }
.step { flex: 1; text-align: center; padding-inline: 16px; position: relative; }
.step-badge {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: var(--mustard);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.3rem; margin: 0 auto 18px;
}
.step h3 { font-size: 1.12rem; font-weight: 800; margin: 0 0 8px; }
.step p { font-size: 0.92rem; opacity: 0.85; margin: 0; max-width: 26ch; margin-inline: auto; }
.step-line {
  position: absolute; top: 28px; height: 2px;
  background-image: repeating-linear-gradient(to right, var(--ink) 0 10px, transparent 10px 18px);
  inset-inline-start: calc(50% + 40px);
  width: calc(100% - 80px); opacity: 0.5;
}

/* Pricing tags */
.tags { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.tag {
  position: relative; border-radius: 16px; padding: 26px 24px;
  min-width: 160px; flex: 1 1 200px; color: var(--cream);
  box-shadow: 0 10px 20px -8px rgba(10, 42, 82, 0.25);
}
.tag::after {
  content: ""; position: absolute; top: 16px; inset-inline-end: 14px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--cream); opacity: 0.5;
}
.tag.t1 { background: var(--teal); }
.tag.t2 { background: var(--hibiscus); }
.tag.t3 { background: var(--mustard-deep); color: var(--ink); }
.tag.t3::after { background: var(--ink); }
.tag.t4 { background: var(--ink); transform: scale(1.04); }
.tag-period { font-size: 0.9rem; font-weight: 700; opacity: 0.85; margin-bottom: 10px; display: block; }
.tag-price { font-size: 1.9rem; font-weight: 900; display: block; }
.tag-save { font-size: 0.78rem; opacity: 0.8; margin-top: 6px; display: block; }

.plan-includes {
  background: var(--teal); color: var(--cream); border-radius: 20px;
  padding: 30px 32px; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px 30px;
}
.plan-includes h4 { grid-column: 1/-1; margin: 0 0 6px; font-size: 1.05rem; font-weight: 800; }
.plan-includes div { display: flex; align-items: center; gap: 10px; font-size: 0.94rem; opacity: 0.92; }
.check {
  width: 20px; height: 20px; border-radius: 50%; background: var(--mustard); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 900; flex: none;
}

/* Forms and Inputs in Theme */
.yr-input {
  width: 100%; padding: 12px 14px; background: #fff;
  border: 2px solid #e4dcc8; border-radius: 12px;
  color: var(--ink); font-size: 0.95rem; font-family: inherit;
  transition: border-color .15s ease;
}
.yr-input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30, 95, 168, 0.15); }

/* Footer */
footer.yr-footer { background: var(--teal-deeper); color: var(--cream); padding-block: 44px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; margin-bottom: 32px; }
.footer-col h4 { font-size: 0.9rem; opacity: 0.65; margin: 0 0 14px; font-weight: 700; }
.footer-col a { display: block; opacity: 0.85; font-size: 0.9rem; margin-bottom: 9px; color: inherit; text-decoration: none; }
.footer-col a:hover { opacity: 1; color: var(--mustard); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid rgba(251, 242, 223, 0.15); padding-top: 22px; font-size: 0.82rem; opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: column; gap: 30px; }
  .step-line { display: none; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .tags { flex-direction: column; }
  .tag.t4 { transform: none; }
  .plan-includes { grid-template-columns: 1fr; }
}
