:root {
  color-scheme: light;
  --forest: #174a3a;
  --forest-deep: #10392d;
  --forest-soft: #e8efe9;
  --paper: #f5f0e6;
  --paper-light: #fbf9f4;
  --ink: #1d3028;
  --muted: #727c71;
  --line: #ded9cb;
  --gold: #c49b5a;
  --wa: #1daf68;
  --font: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.paper-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E");
}
.site-header, main, .site-footer { width: min(1160px, calc(100% - 72px)); margin-inline: auto; }
.site-header {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand, .brand-mark, .brand-copy, .header-link { display: flex; align-items: center; }
.brand { gap: 11px; }
.brand-mark { width: 44px; height: 44px; justify-content: center; border-radius: 14px; background: var(--forest); }
.brand-mark img { display: block; }
.brand-copy { flex-direction: column; align-items: flex-start; line-height: 1.35; }
.brand-copy strong { color: var(--forest); font-size: 16px; font-weight: 700; }
.brand-copy small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.header-link { gap: 13px; padding: 9px 0 9px 9px; color: var(--forest); font-size: 13px; font-weight: 600; }
.header-arrow { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #c6d2c7; border-radius: 50%; font-size: 17px; transition: .2s ease; }
.header-link:hover .header-arrow { color: white; background: var(--forest); transform: translate(-2px, 2px); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  align-items: center;
  gap: clamp(48px, 8vw, 124px);
  padding-block: clamp(64px, 9vw, 116px) clamp(86px, 11vw, 138px);
}
.hero-copy { padding-inline-start: clamp(0px, 2vw, 28px); }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--forest); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px #c49b5a22; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 630px; margin: 23px 0 18px; color: var(--forest-deep); font-size: clamp(42px, 5vw, 69px); line-height: 1.28; letter-spacing: -.055em; font-weight: 600; }
.hero h1 span { position: relative; display: inline-block; z-index: 0; }
.hero h1 span::after { content: ''; position: absolute; right: 2px; left: 1px; bottom: 5px; z-index: -1; height: 12px; background: #cfb16f66; transform: rotate(-1.5deg); }
.hero-intro { max-width: 455px; margin-bottom: 30px; color: #667268; font-size: 16px; line-height: 2; }
.whatsapp-button { display: inline-flex; align-items: center; gap: 13px; min-width: 292px; padding: 12px 15px; color: #fff; border: 1px solid #187e4b; border-radius: 10px; background: var(--wa); box-shadow: 0 7px 16px #1a6b4320, inset 0 1px #ffffff3d; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.whatsapp-button:hover { background: #15945a; box-shadow: 0 12px 24px #1a6b4331; transform: translateY(-2px); }
.whatsapp-button:focus-visible, .header-link:focus-visible, .closing-link:focus-visible, .privacy-link:focus-visible, button:focus-visible { outline: 3px solid #c49b5a; outline-offset: 3px; }
.wa-icon { flex: 0 0 40px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; background: #ffffff20; }
.wa-icon svg { width: 23px; height: 23px; fill: #fff; }
.button-label { display: flex; flex: 1; flex-direction: column; align-items: flex-start; line-height: 1.5; }
.button-label strong { font-size: 14px; font-weight: 600; }
.button-label small { font-size: 10px; opacity: .86; }
.button-arrow { margin-inline-start: 4px; font-size: 18px; }
.under-button { display: flex; align-items: center; gap: 7px; margin-top: 13px; color: var(--muted); font-size: 11px; }
.tiny-check { display: grid; place-items: center; width: 16px; height: 16px; color: var(--forest); border: 1px solid #b4c5b7; border-radius: 50%; font-size: 10px; }

.hero-art { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 414px; border-radius: 43% 43% 13px 13px; background: var(--forest); overflow: hidden; }
.hero-art::before { content: ''; position: absolute; inset: 16px; z-index: -1; border: 1px solid #ffffff22; border-radius: 43% 43% 7px 7px; }
.hero-art::after { content: '✳'; position: absolute; right: 12%; top: 15%; color: #dfc28b; font-size: 25px; opacity: .9; transform: rotate(-11deg); }
.art-orbit { position: absolute; z-index: -1; border: 1px solid #ffffff20; border-radius: 50%; }
.orbit-one { width: 340px; height: 340px; top: 39px; left: -114px; }
.orbit-two { width: 258px; height: 258px; right: -93px; bottom: -54px; border-color: #d6bc8050; }
.message-card { position: relative; width: min(77%, 354px); padding: 20px 21px 17px; color: var(--ink); border: 1px solid #ede7d8; border-radius: 4px; background: var(--paper-light); box-shadow: 0 22px 55px #0a201a45; transform: rotate(-3deg); }
.card-topline, .card-brand, .card-online, .message-footer { display: flex; align-items: center; }
.card-topline { justify-content: space-between; gap: 8px; }
.card-brand { gap: 7px; color: var(--forest); font-size: 12px; font-weight: 700; }
.card-brand img { background: var(--forest); border-radius: 8px; }
.card-online { gap: 5px; color: #788276; font-size: 9px; }
.card-online i { width: 6px; height: 6px; border-radius: 50%; background: #53a877; }
.card-rule { height: 1px; margin-block: 17px 14px; background: #e5dfd1; }
.message-caption { color: #788276; font-size: 10px; }
.message-preview { margin: 8px 0 19px; padding: 12px 13px; color: #34483e; border: 1px solid #e6e1d4; border-radius: 3px 11px 11px 11px; background: #f0eee4; font-size: 13px; line-height: 1.9; }
.message-footer { justify-content: space-between; color: #788276; font-size: 9px; }
.send-mark { display: grid; place-items: center; width: 23px; height: 23px; color: white; border-radius: 50%; background: var(--wa); font-size: 14px; }
.art-stamp { position: absolute; right: 8%; top: 18%; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 60px; height: 60px; color: var(--forest); border: 1px solid #cfba8c; border-radius: 50%; background: #f4eddc; box-shadow: 0 7px 20px #0a201a2b; transform: rotate(9deg); }
.art-stamp span { font-size: 9px; }
.art-stamp strong { font-family: Georgia, serif; font-size: 18px; font-weight: 400; line-height: 1; }
.art-note { position: absolute; left: 6%; bottom: 10%; display: flex; align-items: center; gap: 9px; color: #f6f1e4; font-size: 11px; line-height: 1.8; transform: rotate(-5deg); }
.note-asterisk { color: #d9bd7b; font-size: 26px; }
.art-number { position: absolute; right: 8%; bottom: 6%; color: #ffffff8c; font-size: 9px; letter-spacing: .1em; }

.details { padding-block: 31px 38px; border-top: 1px solid var(--line); }
.details-heading { display: flex; align-items: baseline; gap: 24px; margin-bottom: 23px; }
.section-index { color: #9a927e; font-size: 10px; letter-spacing: .08em; }
.details-heading h2 { margin: 0; color: var(--forest-deep); font-size: 20px; font-weight: 600; }
.detail-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.detail-item { display: grid; grid-template-columns: 37px 1fr 20px; align-items: start; gap: 8px; min-height: 112px; padding: 20px 17px 14px 12px; border-left: 1px solid var(--line); }
.detail-item:first-child { padding-right: 0; }
.detail-item:last-child { border-left: 0; }
.detail-number { color: #a68b56; font-size: 11px; font-family: Georgia, serif; }
.detail-item h3 { margin: 0 0 5px; color: var(--forest); font-size: 13px; font-weight: 600; }
.detail-item p { max-width: 250px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.detail-arrow { color: #a69a80; font-size: 15px; }

.closing-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 160px; margin-block: 45px 58px; padding: 30px clamp(25px, 5vw, 62px); overflow: hidden; color: #f8f3e8; border-radius: 4px; background: var(--forest); }
.closing-cta::after { content: ''; position: absolute; left: -45px; bottom: -151px; width: 305px; height: 305px; border: 1px solid #ffffff20; border-radius: 50%; box-shadow: 0 0 0 22px #ffffff09, 0 0 0 45px #ffffff07; }
.closing-kicker { color: #d0bd8e; font-size: 11px; }
.closing-cta h2 { margin: 4px 0 0; font-size: clamp(21px, 2.6vw, 29px); font-weight: 500; letter-spacing: -.02em; }
.closing-link { position: relative; z-index: 1; display: flex; align-items: center; gap: 25px; padding: 14px 16px; color: var(--forest-deep); border-radius: 3px; background: #f4eddd; font-size: 12px; font-weight: 600; transition: background .2s, transform .2s; }
.closing-link:hover { background: white; transform: translateY(-2px); }
.closing-link span:last-child { font-size: 17px; }
.closing-spark { position: absolute; top: 18px; left: 27px; color: #d8bf87; font-size: 23px; opacity: .8; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 75px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.footer-brand { display: flex; align-items: center; gap: 7px; color: var(--forest); font-size: 11px; font-weight: 700; }
.footer-brand img { border-radius: 7px; background: var(--forest); }
.site-footer p { margin: 0; }
.footer-location { direction: rtl; }
.footer-location bdi { color: var(--forest); font-weight: 600; }
.privacy-link { padding: 4px; color: #667268; border: 0; background: transparent; font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }
.consent-panel { position: fixed; z-index: 5; inset-inline: 20px; bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 25px; width: min(830px, calc(100% - 40px)); margin-inline: auto; padding: 17px 20px; border: 1px solid #dcd6c8; border-radius: 10px; background: #fffdf8; box-shadow: 0 10px 40px #16251d24; }
.consent-panel[hidden] { display: none; }
.consent-copy strong { color: var(--forest); font-size: 12px; }
.consent-copy p { max-width: 470px; margin: 3px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.consent-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.consent-actions button { padding: 9px 12px; border-radius: 6px; font-size: 10px; }
.consent-accept { color: white; border: 1px solid var(--forest); background: var(--forest); }
.consent-reject { color: var(--forest); border: 1px solid #cbd4cb; background: transparent; }

.analytics-link { padding: 4px; color: #667268; font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }
.analytics-link:focus-visible, .analytics-home:focus-visible { outline: 3px solid #c49b5a; outline-offset: 3px; }
.analytics-home { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); font-size: 12px; font-weight: 600; }
.analytics-home:hover, .analytics-link:hover { color: var(--forest-deep); }
.analytics-main { width: min(1000px, calc(100% - 72px)); min-height: calc(100vh - 170px); margin-inline: auto; padding-block: clamp(70px, 10vw, 118px); }
.analytics-intro { max-width: 730px; }
.analytics-title { margin: 17px 0 13px; color: var(--forest-deep); font-size: clamp(36px, 5vw, 60px); line-height: 1.25; letter-spacing: -.045em; font-weight: 600; }
.analytics-description { max-width: 620px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.analytics-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-block: 38px 22px; }
.analytics-card { min-height: 176px; padding: 26px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-light); box-shadow: 0 10px 28px #16251d0a; }
.analytics-card--featured { color: #f8f3e8; border-color: var(--forest); background: var(--forest); }
.analytics-label { margin: 0 0 22px; color: var(--muted); font-size: 12px; }
.analytics-card--featured .analytics-label { color: #d0bd8e; }
.analytics-value { display: block; color: var(--forest); font-size: clamp(34px, 4vw, 48px); font-weight: 600; line-height: 1; direction: ltr; text-align: right; }
.analytics-card--featured .analytics-value { color: #fffaf0; }
.analytics-card-note { margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.analytics-card--featured .analytics-card-note { color: #e3d9c0; }
.analytics-note { margin: 25px 0 0; padding: 15px 18px; color: var(--muted); border-right: 3px solid var(--gold); background: #c49b5a14; font-size: 12px; line-height: 1.9; }
.analytics-statusline { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 17px; color: var(--muted); font-size: 10px; }
.analytics-statusline p { margin: 0; }
.analytics-status[data-state="error"] { color: #a23532; }

@media (max-width: 560px) {
  .analytics-main { width: calc(100% - 36px); min-height: calc(100vh - 150px); padding-block: 48px 62px; }
  .analytics-title { font-size: clamp(34px, 10vw, 46px); }
  .analytics-description { font-size: 13px; }
  .analytics-grid { grid-template-columns: 1fr; gap: 11px; margin-block: 28px 16px; }
  .analytics-card { min-height: 0; padding: 21px; }
  .analytics-label { margin-bottom: 15px; }
  .analytics-value { font-size: 38px; }
  .analytics-note { padding: 13px 15px; }
  .analytics-statusline { align-items: flex-start; flex-direction: column; gap: 5px; }
}

@media (min-width: 1320px) { .hero { gap: 142px; } }
@media (max-width: 800px) {
  .site-header, main, .site-footer { width: min(100% - 42px, 640px); }
  .site-header { min-height: 78px; }
  .hero { grid-template-columns: 1fr; gap: 44px; padding-block: 57px 77px; }
  .hero-copy { padding-inline: 0; }
  .hero h1 { max-width: 540px; font-size: clamp(43px, 9vw, 62px); }
  .hero-art { width: min(100%, 470px); min-height: 375px; justify-self: center; }
  .details-heading { gap: 15px; }
  .detail-item { grid-template-columns: 28px 1fr; padding-inline: 10px; }
  .detail-arrow { display: none; }
  .detail-item p { font-size: 10px; }
  .closing-cta { min-height: 150px; }
}
@media (max-width: 560px) {
  .site-header, main, .site-footer { width: calc(100% - 36px); }
  .brand-mark { width: 40px; height: 40px; }
  .header-link { font-size: 11px; }
  .hero { gap: 39px; padding-block: 47px 60px; }
  .hero h1 { margin-top: 18px; font-size: clamp(40px, 11vw, 53px); }
  .hero-intro { font-size: 14px; line-height: 1.9; }
  .whatsapp-button { width: 100%; min-width: 0; }
  .hero-art { min-height: 325px; border-radius: 43% 43% 10px 10px; }
  .message-card { width: 79%; padding: 16px; }
  .message-preview { font-size: 11px; }
  .art-stamp { width: 52px; height: 52px; }
  .art-note { font-size: 10px; }
  .details-heading { align-items: center; justify-content: space-between; margin-bottom: 17px; }
  .details-heading h2 { font-size: 16px; }
  .detail-list { grid-template-columns: 1fr; }
  .detail-item, .detail-item:first-child { grid-template-columns: 35px 1fr; min-height: 0; padding: 15px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .detail-item:last-child { border-bottom: 0; }
  .detail-item p { max-width: none; font-size: 11px; }
  .closing-cta { align-items: flex-start; flex-direction: column; gap: 17px; min-height: 0; margin-block: 32px 44px; padding: 24px 21px; }
  .closing-cta h2 { font-size: 22px; }
  .closing-link { justify-content: space-between; width: 100%; }
  .site-footer { flex-wrap: wrap; justify-content: space-between; row-gap: 6px; padding-block: 15px; }
  .site-footer p { order: 3; width: 100%; }
  .footer-location { font-size: 9px; }
  .consent-panel { align-items: stretch; flex-direction: column; gap: 13px; bottom: 10px; padding: 14px; }
  .consent-actions button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
