:root {
  --green: #0f3d2e;
  --green-deep: #0b3326;
  --green-soft: #19513d;
  --off-white: #f7f4ee;
  --paper: #fcfaf6;
  --sand: #dcc9a3;
  --clay: #c4633c;
  --clay-ink: #99452d;
  --ink: #17372b;
  --muted: #65736d;
  --line: rgba(15, 61, 46, 0.15);
  --light-line: rgba(255, 255, 255, 0.13);
  --radius-sm: 8px;
  --radius-md: 12px;
  --content: 1060px;
  --text: 680px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--off-white);
  color: var(--ink);
  font-family: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  right: 12px;
  padding: 9px 15px;
  border-radius: 6px;
  background: #fff;
  color: var(--green);
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  place-items: center;
  overflow: hidden;
  padding: 76px 24px 92px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 820px);
  text-align: center;
}

.brand-logo {
  width: min(78vw, 310px);
  height: auto;
  object-fit: contain;
  margin: 0 auto 8px;
}

.ornament {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 108px;
  margin: 20px auto 29px;
}

.ornament::before,
.ornament::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--sand);
}

.ornament span {
  width: 8px;
  height: 8px;
  background: var(--clay);
  transform: rotate(45deg);
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.eyebrow,
.site-footer__name {
  font-family: "Noto Kufi Arabic", "IBM Plex Sans Arabic", sans-serif;
  letter-spacing: normal;
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto 17px;
  color: var(--green);
  font-size: clamp(2rem, 5.8vw, 3.35rem);
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: normal;
}

.intro {
  max-width: var(--text);
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(0.98rem, 2.25vw, 1.1rem);
  line-height: 2;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  padding: 12px 25px;
  border: 0;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-size: 1.17rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--green);
}

.button--primary:hover {
  background: var(--green-soft);
  box-shadow: 0 10px 24px rgba(15, 61, 46, 0.14);
}

.button--whatsapp {
  background: #25d366;
  color: #fff;
  direction: rtl;
}

.button--whatsapp:hover {
  background: #1ebe5d;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.18);
}

.button--whatsapp span {
  white-space: nowrap;
}

.whatsapp-icon {
  flex-shrink: 0;
}

svg.whatsapp-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: currentColor;
}

img.whatsapp-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  object-fit: contain;
}

.button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #963f27;
  outline-offset: 3px;
}

.hero__arch {
  position: absolute;
  bottom: -250px;
  left: -175px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(15, 61, 46, 0.06);
  border-radius: 50%;
}

.hero__arch::after {
  content: "";
  position: absolute;
  inset: 58px;
  border: 1px solid rgba(196, 99, 60, 0.055);
  border-radius: inherit;
}

.section {
  width: min(calc(100% - 40px), var(--content));
  margin: auto;
  padding: 96px 0 102px;
}

.section-heading {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin-bottom: 7px;
  color: var(--clay-ink);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: normal;
}

.section-heading h2 {
  margin: 0;
  color: var(--green);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: normal;
}

.section-heading--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-mark {
  width: 11px;
  height: 11px;
  margin: 0 2px 12px 0;
  background: var(--clay);
  transform: rotate(45deg);
}

.about__content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 72px);
  margin-top: 36px;
}

.about__content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 2;
}

.services-section {
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 56px);
  margin-top: 42px;
}

.service-item {
  padding-top: 18px;
  border-top: 1px solid var(--sand);
}

.service-item__number {
  color: var(--clay-ink);
  font-size: 0.7rem;
  font-weight: 700;
}

.service-item h3,
.principle-item h3 {
  margin: 12px 0 8px;
  color: var(--green);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.9;
}

.service-item p,
.principle-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.9;
}

.principles {
  position: relative;
  overflow: hidden;
  background: var(--green);
  color: #fff;
}

.principles__inner {
  position: relative;
  z-index: 1;
}

.section-heading--light {
  border-color: var(--light-line);
}

.section-heading--light .eyebrow {
  color: var(--sand);
}

.section-heading--light h2,
.principle-item h3 {
  color: #fff;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 56px);
  margin-top: 42px;
}

.principle-item {
  padding-inline-start: 18px;
  border-inline-start: 1px solid rgba(220, 201, 163, 0.35);
}

.principle-item > span {
  display: block;
  width: 7px;
  height: 7px;
  background: var(--clay);
  transform: rotate(45deg);
}

.principle-item p {
  color: rgba(255, 255, 255, 0.72);
}

.principles__arch {
  position: absolute;
  left: -160px;
  bottom: -260px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(220, 201, 163, 0.07);
  border-radius: 50%;
}

.request-cta {
  padding: 70px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(220, 201, 163, 0.16);
}

.request-cta__inner {
  display: flex;
  width: min(100%, var(--content));
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: auto;
}

.request-cta h2 {
  margin: 0;
  color: var(--green);
  font-size: clamp(1.65rem, 4vw, 2.3rem);
  font-weight: 700;
  line-height: 1.9;
}

.request-cta p:last-child {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.request-cta .button {
  min-width: 170px;
  flex: 0 0 auto;
}

.contact-list {
  margin-top: 8px;
}

.contact-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 16px;
  min-height: 86px;
  padding: 16px 5px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.contact-row:not([href]) {
  grid-template-columns: 46px minmax(0, 1fr);
}

.contact-row[href] {
  transition: background-color 180ms ease, padding-inline 180ms ease;
}

.contact-row[href]:hover {
  padding-inline: 13px;
  background: rgba(220, 201, 163, 0.13);
}

.line-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--sand);
  border-radius: 50%;
  color: var(--green);
}

.line-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-row__text {
  width: 100%;
  min-width: 0;
  text-align: right;
}

.contact-row small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.contact-row strong {
  display: block;
  width: 100%;
  margin-top: 4px;
  overflow-wrap: anywhere;
  font-size: 0.96rem;
  font-weight: 600;
  text-align: right;
}

.contact-row strong[dir="ltr"] {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
}

.contact-row__arrow {
  color: var(--clay);
}

.contact-row__arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links:empty {
  display: none;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-bottom: 1px solid var(--clay);
  font-size: 0.84rem;
  text-decoration: none;
}

.social-links svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links .icon-dot {
  fill: currentColor;
  stroke: none;
}

.site-footer {
  display: flex;
  min-height: 142px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 34px 20px;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer p {
  margin: 0;
}

.site-footer--main {
  min-height: 180px;
  background: var(--green);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.site-footer__name {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.9;
}

.site-footer__services {
  margin-top: 5px !important;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__services span {
  padding-inline: 5px;
  color: var(--sand);
}

.site-footer__registration {
  margin: 0;
  line-height: 1.8;
}

.site-footer--main .site-footer__registration {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
}

.site-footer__registration bdi {
  font-variant-numeric: tabular-nums;
}

/* Interest page */
.form-page {
  background: var(--green);
}

.form-header {
  position: sticky;
  z-index: 50;
  top: 0;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid var(--light-line);
  background: var(--green);
}

.form-header__inner {
  display: flex;
  width: min(calc(100% - 40px), var(--content));
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: auto;
}

.form-brand {
  display: flex;
  min-height: 44px;
  align-items: center;
  overflow: hidden;
}

.form-brand img {
  width: 205px;
  height: auto;
}

.back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.back-link:hover {
  color: #fff;
}

.form-header a:focus-visible {
  outline-color: var(--sand);
}

.back-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.interest {
  position: relative;
  overflow: hidden;
  background: var(--green);
  color: #fff;
  padding: 76px 24px 100px;
}

.interest__inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, var(--content));
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(54px, 7vw, 94px);
  margin: auto;
}

.interest__copy {
  padding-top: 28px;
}

.interest__copy .eyebrow {
  color: var(--sand);
}

.interest__copy h1 {
  max-width: 420px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: normal;
}

.interest__copy > p:last-of-type {
  max-width: 390px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  line-height: 1.95;
}

.delivery-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  line-height: 1.8;
}

.delivery-note span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-top: 8px;
  background: var(--clay);
  transform: rotate(45deg);
}

.interest__diamond {
  position: absolute;
  top: 128px;
  left: -115px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(220, 201, 163, 0.08);
  transform: rotate(45deg);
}

form {
  min-width: 0;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(220, 201, 163, 0.24);
  border-radius: var(--radius-md);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

#interest-form {
  scroll-margin-top: calc(104px + env(safe-area-inset-top, 0px));
}

.form-block__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 19px;
}

.form-block__heading h2 {
  margin: 0;
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.9;
}

.form-block__heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.field {
  min-width: 0;
}

.field--wide {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--green);
  font-size: 0.79rem;
  font-weight: 700;
}

.field label em {
  margin-right: 5px;
  color: #963f27;
  font-size: 0.67rem;
  font-style: normal;
  font-weight: 600;
}

input,
select,
textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #6f887e;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

select {
  cursor: pointer;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 400;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  outline: 3px solid #6f887e;
  outline-offset: 1px;
}

[aria-invalid="true"] {
  border-color: var(--clay);
  background: #fffaf8;
}

.field-hint {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  direction: rtl;
}

.form-divider {
  height: 1px;
  margin: 28px 0;
  background: var(--line);
}

.form-error {
  display: none;
  margin: 18px 0 0;
  padding: 9px 12px;
  border-right: 3px solid var(--clay);
  background: rgba(196, 99, 60, 0.07);
  color: #963f27;
  font-size: 0.78rem;
  font-weight: 700;
}

.form-error:not(:empty) {
  display: block;
}

.submit-button {
  width: 100%;
  margin-top: 22px;
}

.form-home-link {
  display: block;
  width: fit-content;
  min-height: 44px;
  margin: 17px auto 0;
  padding: 8px 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  text-align: center;
  text-underline-offset: 4px;
}

.noscript-note {
  margin: 18px 0 0;
  color: #963f27;
  font-size: 0.78rem;
}

.site-footer--light {
  background: var(--off-white);
  text-align: center;
}

.site-footer--light .site-footer__name {
  color: var(--green);
}

.site-footer--light .site-footer__services,
.site-footer--light .site-footer__registration {
  color: var(--muted);
}

.site-footer--light .site-footer__services span {
  color: var(--clay-ink);
}

.site-footer--light .site-footer__registration {
  margin-top: 10px;
  font-size: 0.72rem;
}

@media (max-width: 920px) {
  .interest {
    padding: 55px 20px 76px;
  }

  .interest__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .interest__copy {
    padding-top: 0;
  }

  .interest__copy h1,
  .interest__copy > p:last-of-type {
    max-width: none;
  }

  .delivery-note {
    margin-top: 20px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 60px 20px 74px;
  }

  .brand-logo {
    margin-bottom: 7px;
  }

  .hero__actions {
    width: min(100%, 360px);
    flex-direction: column;
    margin-inline: auto;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 74px 0 80px;
  }

  .section-heading--split {
    align-items: flex-start;
  }

  .about__content,
  .service-list,
  .principle-list {
    grid-template-columns: 1fr;
  }

  .about__content {
    gap: 18px;
  }

  .service-list,
  .principle-list {
    gap: 30px;
  }

  .request-cta {
    padding: 58px 20px;
  }

  .request-cta__inner {
    align-items: stretch;
    flex-direction: column;
    gap: 24px;
  }

  .request-cta .button {
    min-width: 0;
  }

  .form-header__inner {
    width: calc(100% - 28px);
    min-height: 78px;
    gap: 12px;
  }

  .form-brand img {
    width: 156px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field--wide {
    grid-column: auto;
  }
}

@media (max-width: 390px) {
  .form-header__inner,
  .section {
    width: calc(100% - 30px);
  }

  .form-brand img {
    width: 132px;
  }

  .back-link {
    gap: 5px;
    font-size: 0.72rem;
  }

  .back-link svg {
    width: 16px;
    height: 16px;
  }

  .button--whatsapp {
    gap: 8px;
    padding-inline: 16px;
    font-size: 1rem;
  }

  .submit-button {
    gap: 8px;
    padding-inline: 14px;
    font-size: 1rem;
  }

  img.whatsapp-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .interest {
    padding-inline: 15px;
  }

  form {
    padding: 23px 17px;
  }

  .form-block__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
