/* ==========================================================================
   Routdge – main stylesheet
   Sections appear in page order. Later rules intentionally refine earlier ones.
   1. Tokens & base      2. Header & dropdowns   3. Hero & search
   4. We Ensure          5. Our Services & Buy   6. Email Hosting
   7. Expert Support     8. Footer               9. Responsive overrides
   ========================================================================== */

:root {
  --plum: #7a1646;
  --plum-dark: #6b1b4d;
  --gold: #c9a45c;
  --ink: #000;
  --bg1: #f7e3c6;
  --bg2: #fdf4cf;
  --bg3: #aecbf0;
  --card: #fff;
  --muted: #9a8f7a;
  --safe-top: env(safe-area-inset-top,0px);
  --safe-bottom: env(safe-area-inset-bottom,0px);
  box-sizing: border-box;
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f2eef2;
    --card: #fff;
  }
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  scroll-padding-top: var(--safe-top);
}

body {
  margin: 0;
  font-family: 'Poppins',system-ui,sans-serif;
  color: var(--ink);
  min-height: 100vh;
  background: linear-gradient(90deg,var(--bg1) 0%,var(--bg2) 40%,#e9efe0 62%,var(--bg3) 100%);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: var(--safe-top);
  z-index: 20;
  background: var(--bg1);
}

/* header */
header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 5vw;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--plum);
  font-weight: 700;
  font-size: 1.5rem;
}

.logo img {
  height: 44px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 12px;
}

nav a {
  color:#000000;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  white-space: nowrap;

}

nav a:hover {
  color: var(--plum);
}

.right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: .88rem;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--plum);
  font-size: .8rem;
}


.right button {
  background: none;
  border: 0;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  font-weight: 500;
}

.burger {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  margin-left: auto;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--plum);
  margin: 6px 8px;
  border-radius: 2px;
}

/* hero */
main {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 100px);
  padding: 40px 5vw 160px;
  text-align: center;
}


h1 {
  margin: 0;
  font-size: clamp(1.9rem,4.6vw,2.9rem);
  font-weight: 700;
  color: var(--plum);
  letter-spacing: -.01em;
}

.ar {
  font-family: 'Noto Kufi Arabic',sans-serif;
  font-size: clamp(1.8rem,4.4vw,2.8rem);
  font-weight: 700;
  color: var(--gold);
  margin: 6px 0 0;
}

.search {
  width: min(774px,100%);
  margin-top: 44px;
  text-align: left;
}

.tabs {
  display: flex;
  gap: 26px;
  margin: 0 0 10px 0;
  border: 0;
  padding: 0;
}
.tabs .flag{width:18px;height:12px;flex-shrink:0;display:block}
.tabs label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.tabs input {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #bbb;
  background: #fff;
  display: grid;
  place-content: center;
  margin: 0;
}

.tabs input::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--plum);
  transform: scale(0);
}

.tabs input:checked {
  border-color: var(--plum);
}

.tabs input:checked::after {
  transform: scale(1);
}

.tabs label:has(input:checked) {
  color: var(--plum);
}

.row {
  display: flex;
  gap: 8px;
}

.field {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--card);
  border-radius: 10px;
  height: 44px;
  padding: 0 20px 0 26px;
  box-shadow: 0 2px 10px rgba(122,22,70,.08);
  border: 1px solid rgba(0,0,0,.06);
}

.field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: .82rem;
  background: transparent;
  color: #222;
}

.field select {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: .85rem;
  color: #222;
  cursor: pointer;
  outline: 0;
}

.go {
  background: var(--plum-dark);
  color: #fff;
  border: 0;
  border-radius: 8px;
  height: 44px;
  padding: 0 54px;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s;
}

.go:hover {
  background: var(--plum);
}

:focus-visible {
  outline: 3px solid var(--plum);
  outline-offset: 2px;
}

.hint {
  font-size: .7rem;
  color: #555;
  margin: 12px 0 0;
}

.hint span {
  margin-left: 10px;
  opacity: .8;
}

.result {
  margin-top: 18px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--plum);
  min-height: 1.4em;
  text-align: center;
}

/* dropdown */
.dd {
  position: relative;
  flex-shrink: 0;
}

.dd-btn {
  white-space: nowrap;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: .88rem;
  font-weight: 500;
  color: #000000;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;

}

.dd-btn:hover {
  color: var(--plum);
}

.dd-btn svg {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  transition: transform .2s;
}

.dd.open .dd-btn svg {
  transform: rotate(180deg);
}

.dd-menu {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: calc(100% + 14px);
  left: -14px;
  min-width: 230px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(122,22,70,.18);
  border: 1px solid rgba(0,0,0,.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s,transform .18s,visibility .18s;
  z-index: 30;
}

.dd-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.dd-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: #222;
}

.dd-menu a:hover,
.dd-menu a:focus-visible {
  background: rgba(122,22,70,.08);
  color: var(--plum);
}

.dd.open .dd-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (hover: hover) and (min-width: 901px) {
  .dd:hover .dd-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

@media (max-width: 900px) {
  .dd {
    width: 100%;
  }
  .dd-btn {
    width: 100%;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
  }
  .dd-menu {
    position: static;
    box-shadow: none;
    border: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    min-width: 0;
    padding: 0 0 0 14px;
  }
  .dd-menu::before {
    display: none;
  }
  .dd.open .dd-menu {
    display: block;
  }
}

.dd-menu.end {
  left: auto;
  right: -14px;
  min-width: 190px;
}

.dd-menu a[aria-current=true] {
  background: rgba(122,22,70,.08);
  color: var(--plum);
}

.dd-menu a[dir=rtl] {
  text-align: right;
}

@media (max-width: 900px) {
  .right .dd {
    width: auto;
  }
  .right .dd-btn {
    width: auto;
    justify-content: flex-start;
    padding: 0;
    border-bottom: 0;
  }
  .right .dd-menu {
    position: absolute;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    background: #fff;
    box-shadow: 0 12px 32px rgba(122,22,70,.18);
    border: 1px solid rgba(0,0,0,.05);
    padding: 8px;
    left: auto;
    right: -6px;
    min-width: 170px;
    top: calc(100% + 14px);
  }
  .right .dd.open .dd-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

.ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

nav a.home {
  display: flex;
  align-items: center;

}

.badge img {
  width: 56px;
  height: 56px;
  display: block;
  flex-shrink: 0;
}

header {
  padding: 20px 3.5vw;
}

.logo img {
  height: 75px;
}

nav {
  margin-left: 36px;
  gap: 28px;
}

nav a,
.dd-btn {
  font-family: 'Inter',system-ui,sans-serif;
  font-size: .875rem;
  font-weight: 500;
  color:#000000;
}

.badge {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: .8rem;
}

.badge span {
  white-space: nowrap;
}

.badge img {
  width: 55px;
  height: 55px;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: max(640px,48.9vw);
  background: #fdf4cf url(../assets/images/main_bg.png) center bottom/cover no-repeat;
}

body {
  background: #fff;
}

.hero main {
  flex: 1;
  min-height: 0;
  padding-bottom: clamp(90px,10vw,150px);
}

.shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(60px,8vw,154px);
  object-fit: cover;
  object-position: center bottom;
  display: block;
  pointer-events: none;
  z-index: 6;
}


.right {
  gap: 20px;
}

.right .dd-btn {
  font-family: 'Inter',system-ui,sans-serif;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.5;
  gap: 6px;
  color:#000;
}

.right .dd-btn:hover,
.right .dd.open>.dd-btn {
  color: var(--plum);
}

.right .dd-btn .ico {
  width: 18px;
  height: 18px;
}

.right .dd-btn svg {
  width: 9px;
  height: 9px;
}

@media (max-width: 600px) {
  .right {
    gap: 14px;
  }
  .right .dd-btn {
    font-size: .8125rem;
  }
}

.ensure {
  position: relative;
  overflow: hidden;
  padding: 72px 5vw 90px;
  text-align: center;
  background: #fff;
}

.ensure h2 {
  margin: 0;
  font-size: clamp(1.4rem,2.6vw,1.65rem);
  font-weight: 600;
  color: var(--plum);
}

.ensure .sub {
  margin: 8px 0 0;
  font-size: clamp(.95rem,1.8vw,1.15rem);
  font-weight: 500;
  color: var(--plum);
}

.ensure .deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: .3;
}

.ensure .deco.s {
  width: 54px;
  left: 2px;
  top: 50px;
}

.ensure .deco.l {
  width: clamp(90px,11vw,150px);
  right: -6px;
  top: 134px;
}

.features {
  position: relative;
  list-style: none;
  max-width: 1000px;
  margin: 44px auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px clamp(14px,3.2vw,44px);
}

.features li {
  flex: 1 1 0;
  min-width: 0;
  max-width: 155px;
  padding: 0 10px;
  text-align: center;
  height: 116px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--plum);
  transition: transform .2s,box-shadow .2s;
}

/*.features li:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(122,22,70,.12);
}*/

.features img {
  width: 40px;
  height: 40px;
  display: block;
}

.f1 {
  background: #e5f0ff;
}

.f2 {
  background: #fdeee3;
}

.f3 {
  background: #ffe3e6;
}

.f4 {
  background: #fff8dc;
}

.f5 {
  background: #f0e3ff;
}

@media (max-width: 900px) {
  .features {
    gap: 20px;
  }
  .ensure .deco.l {
    width: 90px;
    top: 20px;
    right: -20px;
  }
  .ensure .deco.s {
    width: 40px;
    top: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .features li {
    transition: none;
  }
}

.features {
  z-index: 3;
}

.services {
  position: relative;
  overflow: hidden;
  margin-top: -90px;
  padding: 180px 5vw 110px;
  text-align: center;
}

.services .arch {
  position: absolute;
  inset: 0;
  background: url(../assets/images/our_service_bg.svg) center top/max(100%,900px) auto no-repeat;
  z-index: 0;
  pointer-events: none;
}

.services .deco {
  position: absolute;
  width: 60px;
  opacity: .3;
  pointer-events: none;
  user-select: none;
}

.services .deco.a {
  left: 13vw;
  top: 160px;
}

.services .deco.b {
  right: 6.5vw;
  top: 230px;
  width: 62px;
}

.services h2,
.services .sub,
.svc-grid {
  position: relative;
  z-index: 1;
}

.services h2 {
  margin: 0;
  font-size: clamp(1.4rem,2.6vw,1.65rem);
  font-weight: 600;
  color: var(--plum);
}

.services .sub {
  margin: 8px 0 0;
  font-size: clamp(.95rem,1.8vw,1.15rem);
  font-weight: 500;
  color: var(--plum);
}

.svc-grid {
  max-width: 915px;
  margin: 40px auto 0;
  height: 424px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-template-rows: repeat(12,1fr);
  gap: 13px;
}

.svc {
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.5;
  color: #111;
  text-align: center;
  transition: transform .2s,box-shadow .2s;
}

.svc:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,.1);
}

.svc img {
  width: 44px;
  height: 44px;
  display: block;
}

.svc.photo {
  padding: 0;
  overflow: hidden;
}

.svc.photo:hover {
  transform: none;
  box-shadow: none;
}

.svc.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s1 {
  grid-area: 1/1/8/2;
  background: #cdbde6;
}

.s2 {
  grid-area: 8/1/13/2;
  background: #dfedd8;
}

.s3 {
  grid-area: 1/2/7/3;
  background: #e6dfcb;
}

.s4 {
  grid-area: 7/2/13/3;
  background: #cce1ff;
}

.s5 {
  grid-area: 1/3/13/4;
}

.s6 {
  grid-area: 1/4/5/5;
  background: #eef3b8;
}

.s7 {
  grid-area: 5/4/9/5;
  background: #edd3c9;
}

.s8 {
  grid-area: 9/4/13/5;
  background: #ffb98a;
}

@media (max-width: 900px) {
  .svc-grid {
    height: auto;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: none;
    grid-auto-rows: minmax(160px,auto);
  }
  .svc-grid>* {
    grid-area: auto;
  }
  .svc-grid>.s5 {
    grid-column: 1/-1;
    height: 300px;
    order: -1;
  }
  .services .deco {
    display: none;
  }
}

@media (max-width: 480px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
  .svc-grid>.s5 {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc {
    transition: none;
  }
}

@media (max-width: 900px) {
  .features {
    gap: 20px;
  }
  .features li {
    flex: 0 0 calc((100% - 40px)/3);
    max-width: none;
  }
}

@media (max-width: 560px) {
  .features {
    gap: 16px;
  }
  .features li {
    flex: 0 0 calc((100% - 16px)/2);
  }
  .ensure {
    padding: 56px 5vw 80px;
  }
  .services {
    padding: 150px 5vw 80px;
  }
}

@media (max-width: 1180px) {
  header {
    gap: 14px;
  }
  nav {
    margin-left: 12px;
    gap: 16px;
  }
  .badge {
    display: none;
  }
}

.buy {
  --chev: url(data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2016%2016%27%3E%3Cpath%20d=%27M2%205l6%206%206-6%27%20fill=%27none%27%20stroke=%27%23111%27%20stroke-width=%271.6%27%20stroke-linecap=%27round%27/%3E%3C/svg%3E);
  position: relative;
  z-index: 1;
  max-width: 1230px;
  margin: 100px auto 0;
  text-align: left;
}

.buy-head {
  text-align: center;
}

.buy-head h2 {
  margin: 0;
  font-size: clamp(1.4rem,2.6vw,1.65rem);
  font-weight: 700;
  color: var(--plum);
  text-transform: uppercase;
}

.buy-head .sub {
  margin: 8px 0 0;
  font-size: clamp(.95rem,1.8vw,1.15rem);
  font-weight: 500;
  color: var(--plum);
}

.panel {
  position: relative;
  margin-top: 40px;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 18px;
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 263px;
  gap: 16px;
}

.bhead,
.brow {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr) minmax(0,245px) 72px 72px 96px;
  gap: 20px;
  align-items: center;
  padding: 0 12px 0 21px;
}

.bhead {
  height: 40px;
  margin-bottom: 8px;
  font-size: .875rem;
  font-weight: 500;
  text-align: center;
  color: #111;
}

.bhead span:nth-child(2) {
  text-align: left;
}

.brow {
  min-height: 57px;
  border: 1px solid #d9d9c9;
  border-radius: 8px;
  margin-bottom: 8px;
  background: #ebebdd;
}

.brow:nth-child(even) {
  background: #e1e1d1;
}

.chk {
  appearance: none;
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border: 1.5px solid #222;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  margin: 0;
}

.chk:checked {
  background: var(--plum) url(data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2016%2016%27%3E%3Cpath%20d=%27M3%208.5l3.2%203L13%204.5%27%20fill=%27none%27%20stroke=%27%23fff%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27/%3E%3C/svg%3E) center/16px no-repeat;
  border-color: var(--plum);
}

.bname {
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.5;
  color: #111;
}

.bsel {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 0;
  background: #fff var(--chev) right 12px center/16px no-repeat;
  appearance: none;
  -webkit-appearance: none;
  padding: 0 34px 0 20px;
  font: inherit;
  font-size: .72rem;
  color: #222;
  cursor: pointer;
  text-overflow: ellipsis;
}

.bsel.sm {
  padding: 0 30px 0 20px;
  background-position: right 8px center;
}

.brow label {
  display: block;
  min-width: 0;
}

.lbl {
  display: none;
}

.bprice {
  font-weight: 700;
  font-size: .95rem;
  text-align: center;
  color: #000;
  white-space: nowrap;
}

.sum {
  margin-top: 48px;
  border-radius: 18px;
  background: linear-gradient(200deg,#fcf4cc 0%,#d3e1e2 40%,#a8c7f2 100%);
  padding: 27px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sum small {
  font-size: .8rem;
  color: #111;
}

.sum strong {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
  margin-bottom: 14px;
}

.cont {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: var(--plum-dark);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.cont:hover {
  background: var(--plum);
}

.buy .deco {
  position: absolute;
  z-index: -1;
  right: -7vw;
  bottom: -50px;
  width: 130px;
  opacity: .3;
  pointer-events: none;
}

.grp {
  margin-top: 34px;
}

.grp h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold);
}

.grp p {
  margin: 0px 0 0;
  font-size: 1rem;
  color: #555;
}

.grp p.k {
  color: #111;
}

.strip {
  margin-top: 14px;
  padding: 10px;
  border-radius: 22px;
  background: linear-gradient(90deg,#a9c8f1,#d7e2e4 50%,#fcf3c9);
}

.cards {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,var(--min,170px)),1fr));
}

.pc {
  display: flex;
  flex-direction: column;
  background: #f6f6f0;
  border: 1px solid #d3d3cb;
  border-radius: 14px;
  overflow: hidden;
}

.pc h4 {
  flex: 1;
  margin: 0;
  padding: 12px 18px;
  background: #efefe3;
  border-bottom: 1px solid #d9d9cf;
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.35;
color:#000000;
}

.pc div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 18px;color:#000000;
}

.pc b {
  font-size: 1.1rem;
  font-weight: 600;
  white-space: nowrap;
}

.pc i {
  font-style: normal;
  font-size: .62rem;
  background: #e6efff;
  border-radius: 999px;
  padding: 5px 11px;
  color: #333;
  white-space: nowrap;
}

.more {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 36px auto 0;
  background: var(--plum-dark);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 13px 42px;
  font: inherit;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
}

@media (max-width: 900px) {
  .buy {
    margin-top: 70px;
  }
  .buy .deco {
    display: none;
  }
}

@media (max-width: 820px) {
  .panel {
    grid-template-columns: 1fr;
    padding: 12px;
  }
  .bhead {
    display: none;
  }
  .sum {
    margin-top: 0;
    padding: 22px;
  }
  .brow {
    grid-template-columns: 28px 1fr 1fr 1fr;
    grid-template-areas: "c n n p" "pl pl pl pl" "q q d d";
    gap: 12px;
    padding: 14px;
  }
  .chk {
    grid-area: c;
  }
  .bname {
    grid-area: n;
  }
  .bprice {
    grid-area: p;
    text-align: right;
  }
  .brow .pl {
    grid-area: pl;
  }
  .brow .q {
    grid-area: q;
  }
  .brow .d {
    grid-area: d;
  }
  .lbl {
    display: block;
    font-size: .65rem;
    color: #555;
    margin-bottom: 2px;
  }
  .bsel,
  .bsel.sm {
    padding-left: 12px;
    border-radius: 6px;
  }
}

.arr {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

.arr.r {
  transform: rotate(-90deg);
}

.more {
  font-size: .95rem;
  padding: 14px 42px;
}

.services {
  padding-bottom: 70px;
}

.eh,
.ex {
  --arr: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjQyOTkgNS45MzAxOEwyMC40OTk5IDEyLjAwMDJMMTQuNDI5OSAxOC4wNzAyIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZT0iIzI5MkQzMiIvPgo8cGF0aCBkPSJNMTEuMDEgMTJIMjAuMzMiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlPSIjMjkyRDMyIi8+CjxwYXRoIGQ9Ik0zLjUgMTJINi45NyIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2U9IiMyOTJEMzIiLz4KPC9zdmc+Cg==);
  background: #f6f6f1;
  overflow: hidden;
}

.eh-in {
  max-width: 1500px;
  margin: 0 auto;
  padding: 14px 4.5vw 0 3vw;
  display: grid;
  grid-template-columns: minmax(300px,478px) minmax(0,1fr);
  gap: clamp(30px,4.4vw,62px);
}

.eh-shape {
  align-self: end;
  min-height: 691px;
  background: url(../assets/images/shape.svg) center/100% 100% no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20%;
}

.eh-shape img {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
}

.eh-shape h2 {
  margin: 0 0 18px;
  font-size: clamp(1.5rem,2.2vw,1.85rem);
  font-weight: 600;
  line-height: 1.4;
  color: #000;
}

.eh-shape p {
  margin: 0 0 38px;
  font-size: .83rem;
  line-height: 1.4;
  color: #111;
}

.eh-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--plum-dark);
  color: #fff;
  border-radius: 999px;
  padding: 13px 34px;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
}

.eh-btn:hover {
  background: var(--plum);
}

.ai {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: var(--arr) center/contain no-repeat;
  mask: var(--arr) center/contain no-repeat;
}

.eh-cols {
  align-self: start;
  padding: 105px 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px,4vw,55px);
}

.eh h3 {
  margin: 0 0 14px;
  font-size: 1.07rem;
  font-weight: 500;
  line-height: 1.4;
  color: #000;
}

.eh-cols p {
  margin: 0 0 30px;
  font-size: .68rem;
  line-height: 1.55;
  color: #555;
}

.eh-cols ul {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.eh-cols li {
  display: grid;
  grid-template-columns: 30px minmax(0,1fr);
  align-items: start;
  font-size: .68rem;
  line-height: 1.55;
  color: #555;
  margin-bottom: 10px;
}

.eh-cols li .ai {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: #222;
}

.eh-cols li b {
  font-weight: 600;
  color: #444;
}

@media (max-width: 900px) {
  .eh-in {
    grid-template-columns: 1fr;
    padding: 30px 5vw 0;
  }
  .eh-shape {
    width: 100%;
    max-width: 478px;
    margin: 0 auto;
    min-height: 0;
    padding: 150px 12% 70px;
  }
  .eh-cols {
    padding: 40px 0 50px;
  }
}

@media (max-width: 640px) {
  .eh-cols {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .eh-shape {
    padding: 130px 10% 60px;
  }
}

.ex {
  background: radial-gradient(ellipse 70% 80% at 25% 85%,#fff3bf 0%,rgba(255,255,255,0) 70%),#fff;
  padding: 84px 0 170px;
}

.ex-in {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 6vw;
  display: grid;
  grid-template-columns: minmax(0,1.1fr) 256px minmax(0,1fr);
  column-gap: clamp(30px,6vw,90px);
  align-items: center;
}

.ex h2 {
  margin: 0;
  font-size: clamp(1.6rem,2.4vw,2rem);
  font-weight: 600;
  line-height: 1.4;
  color: #000;
}

.ex h3.lead {
  margin: 18px 0 0;
  font-size: clamp(1.2rem,1.8vw,1.5rem);
  font-weight: 400;
  line-height: 1.45;
  color: #000;
}

.ex .txt {
  margin: 22px 0 0;
  font-size: .85rem;
  line-height: 1.4;
  color: #111;
  max-width: 400px;
}

.ex .eh-btn {
  margin-top: 62px;
}

.ex-photo {
  width: 256px;
  max-width: 100%;
  height: auto;
  display: block;
  justify-self: center;
}

.ex-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 36px;
}

.ex-list li {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 16px;
  align-items: start;
}

.ex-list svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ex-list h4 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--plum);
}

.ex-list p {
  margin: 0;
  font-size: .75rem;
  line-height: 1.35;
  color: #555;
}

.ft {
  position: relative;
  background: #E1D8B6;
  padding-top: 1px;
}

.contact {
  position: relative;
  z-index: 2;
  width: min(921px,92%);
  margin: -74px auto 0;
  min-height: 137px;
  border-radius: 40px;
  background: linear-gradient(90deg,#f5e0c6 0%,#fbf3d0 40%,#e9efdf 62%,#a9c8f1 100%);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  padding: 0 28px 0 90px;
}

.contact .deco2 {
     position: absolute;
    left: -25px;
    top: -25px;
    width: 100px;
    opacity: .3;
  pointer-events: none;
}

.cc {
  padding: 20px 0;
}

.cc+.cc {
  border-left: 1px solid #a99f85;
  padding-left: 30px;
}

.cc h5 {
  margin: 0 0 6px;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--plum);
  line-height: 1.2;
}

.cc div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.cc a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--plum);
  font-size: .9rem;
  text-decoration: none;
  white-space: nowrap;
}

.cc a img {
  width: 22px;
  height: 22px;
}

.ft-body {
  position: relative;
  max-width: 1365px;
  margin: 0 auto;
  padding: 62px 5vw 40px;
  text-align: center;
  min-height: 200px;
}

.ft-badge {
  position: absolute;
  left: 50px;
  top: -3px;
  width: 130px;
  height: 204px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.ft-badge::before {
  content: "";
  position: absolute;
  inset: 0;

background: url(../assets/images/cra_bg.png) center/100% 100% no-repeat;

}

.ft-badge img,
.ft-badge span {
  position: relative;
}

.ft-badge img {
  width: 60px;
  height: 60px;
}

.ft-badge span {
  font-size: .72rem;
  line-height: 1.4;
  color: var(--plum);
  max-width: 118px;
}

.ft-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 62px;
}

.ft-links a {
  color: #111;
  font-size: .75rem;
  font-weight: 500;
  text-decoration: none;
}

.ft-links a:hover {
  color: var(--plum);
}

.ft-soc {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.ft-soc img {
  width: 20px;
  height: 20px;
  display: block;
}

.up {
  position: absolute;
  right: 42px;
  top: 166px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;

  cursor: pointer;
  display: grid;
  place-items: center;
}

.up img {
  width: 100%;
  height: 100%;
  display: block;
}

.ft-bar {
  border-top: 1px solid #c5bd9c;
  padding: 16px 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ft-bar p {
  margin: 0;
  font-size: .775rem;
  font-weight: 500;
  color: #000;
}

.ft-bar img {
  width: 192px;
  height: auto;
  display: block;
}

@media (max-width: 1000px) {
  .ex-in {
    grid-template-columns: 1fr;
    row-gap: 40px;
    justify-items: center;
    text-align: center;
  }
  .ex .txt {
    margin-left: auto;
    margin-right: auto;
  }
  .ex-list {
    text-align: left;
    max-width: 420px;
  }
}

@media (max-width: 900px) {
  .ex {
    padding: 60px 0 150px;
  }
  .contact {
    grid-template-columns: 1fr;
    padding: 12px 28px;
    border-radius: 28px;
    margin-top: -60px;
  }
  .contact .deco2 {
    display: none;
  }
  .cc+.cc {
    border-left: 0;
    border-top: 1px solid #a99f85;
    padding-left: 0;
  }
  .ft-badge {
    position: relative;
    left: auto;
    top: auto;
    margin: 0 auto 24px;
  }
  .ft-body {
    padding-top: 36px;
  }
  .ft-links {
    margin-top: 0;
  }
  .up {
    top: auto;
    bottom: 70px;
    right: 20px;
  }
  .ft-bar {
    justify-content: center;
    text-align: center;
    padding: 16px 5vw;
  }
}

/* clouds */







/* responsive */
@media (max-width: 1080px) {
  nav {
    gap: 16px;
  }
  .badge span {
    display: none;
  }
}

@media (max-width: 900px) {
  .burger {
    display: block;
  }
  .right {
    margin-left: 0;
  }
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    background: rgba(255,255,255,.96);
    padding: 8px 5vw;
    display: none;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }
  nav.open {
    display: flex;
  }
  nav a {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,.06);
  }
  .badge {
    display: none;
  }
}

@media (max-width: 600px) {
  header {
    padding: 12px 4vw;
    gap: 10px;
  }
  .logo img {
    height: 32px;
  }
  .right {
    gap: 12px;
    font-size: .8rem;
  }
  .row {
    flex-direction: column;
  }
  .go {
    width: 100%;
  }
  .search {
    margin-top: 30px;
  }
  main {
    padding-bottom: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none!important;
  }
}

/* ---- misc (moved from inline styles) ---- */
.tabs {
  min-inline-size: 0;
}

#lang .dd-menu {
  min-width: 140px;
}

/* ---- View More / View Less (pure CSS checkbox toggle) ---- */
.cards--wide {
  --min: 240px;
}

.cards--plans {
  --min: 220px;
}

.more-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.more-groups {
  display: none;
}

.more-toggle:checked ~ .more-groups {
  display: block;
  animation: moreIn .35s ease both;
}

.more {
  cursor: pointer;
  user-select: none;
  width: fit-content;
}

.more .t-less {
  display: none;
}

.more-toggle:checked ~ .more .t-more {
  display: none;
}

.more-toggle:checked ~ .more .t-less {
  display: inline;
}

.more .arr {
  transition: transform .25s;
}

.more-toggle:checked ~ .more .arr {
  transform: rotate(180deg);
}

.more-toggle:focus-visible ~ .more {
  outline: 3px solid var(--plum);
  outline-offset: 3px;
}

@keyframes moreIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .more-toggle:checked ~ .more-groups { animation: none; }
  .more .arr { transition: none; }
}
