/* Brokmark Landing Page - standalone styles */
:root {
  --dark: #101214;
  --dark-2: #17191b;
  --paper: #f5f1ea;
  --white: #fff;
  --text: #17191b;
  --muted: #6f7479;
  --accent: #b79a68;
  --border: rgba(16, 18, 20, 0.12);
  --border-light: rgba(255, 255, 255, 0.15);
  --radius: 28px;
  --container: min(1220px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Cairo", Arial, sans-serif;
  background: var(--paper);
  color: var(--text);
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.container {
  width: var(--container);
  margin-inline: auto;
}
.section {
  padding: 112px 0;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
  color: inherit;
}
.section-kicker:before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}
.section-title {
  margin: 14px 0 0;
  font-size: clamp(50px, 4.7vw, 50px) !important;
  line-height: 1.5;
  letter-spacing: -0.045em;
}
.section-copy {
  color: var(--muted);
  line-height: 2;
  font-size: 15px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: end;
  margin-bottom: 50px;
}
.section-head .section-copy {
  max-width: 470px;
  margin: 0;
}

/* الشريط العلوي */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 9999;
  color: #fff;
  background: transparent;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: #101214 !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.site-header.scrolled .nav {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.site-header.scrolled .nav-links a {
  color: #fff;
}

.site-header.scrolled .nav-cta {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.site-header.scrolled .mobile-toggle {
  color: #fff;
}
.nav {
  width: var(--container);
  height: 96px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  width: 46px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo img {
  max-height: 54px;
  width: auto;
  filter: brightness(0) invert(1);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 16px;
  font-weight: 600;
}

.nav-links a {
  opacity: 0.82;
  transition: 0.25s;
}
.nav-links a:hover {
  opacity: 1;
}
.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 100px;
  padding: 11px 20px;
}
.nav-cta:hover {
  background: #fff;
  color: #111;
}
.mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  width: 44px;
  height: 44px;
  font-size: 26px;
}

/* الواجهة الرئيسية */
.hero {
  min-height: 820px;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  color: #fff;
  background:
    linear-gradient(
      0deg,
      rgb(0 0 0 / 83%) 0%,
      rgb(0 0 0 / 39%) 55%,
      rgba(8, 10, 12, 0.22) 100%
    ),
    linear-gradient(90deg, rgba(8, 10, 12, 0.1), rgba(8, 10, 12, 0.3)),
    url(https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=2200&q=90)
      center / cover no-repeat;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 49.8%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 50.2%
  );
  pointer-events: none;
  opacity: 0.38;
}
.hero-inner {
  width: var(--container);
  margin: auto;
  position: relative;
  z-index: 2;
  padding-bottom: 68px;
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 50px;
  align-items: end;
}
.hero h1 {
  margin: 14px 0 26px;
  font-size: clamp(56px, 7.4vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.062em;
  max-width: 900px;
  font-weight: 700;
}
.hero h1 span {
  color: #d7c5a4;
}
.hero-copy {
  margin: 0;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 2;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  min-height: 55px;
  padding: 0 27px;
  border-radius: 100px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  transition: 0.28s;
}
.btn-light {
  background: #fff;
  color: #111;
}
.btn-light:hover {
  transform: translateY(-2px);
  background: #eee9e0;
}
.btn-outline {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}
.hero-note {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  padding-top: 24px;
}
.hero-note strong {
  display: block;
  font-size: 26px;
  line-height: 1.5;
  font-weight: 600;
}
.hero-note span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.8;
}

/* مؤشرات الثقة */
.trust-bar {
  background: var(--dark);
  color: #fff;
}
.trust-grid {
  width: var(--container);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 32px 26px;
  border-left: 1px solid var(--border-light);
}
.trust-item:last-child {
  border-left: 0;
}
.trust-item b {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
}
.trust-item span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  line-height: 1.8;
}

/* من نحن */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
}
.about-media {
  position: relative;
  min-height: 640px;
}
.about-media .large {
  width: 82%;
  height: 585px;
  object-fit: cover;
  border-radius: var(--radius);
}
.about-media .small {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  height: 265px;
  object-fit: cover;
  border-radius: 22px;
  border: 10px solid var(--paper);
}
.about-seal {
  position: absolute;
  left: 16%;
  top: 32px;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-size: 12px;
  line-height: 1.7;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}
.about-content .section-copy {
  font-size: 15px;
}
.about-list {
  margin-top: 30px;
  border-top: 1px solid var(--border);
}
.about-list div {
  padding: 18px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
}
.about-list b {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 12px;
  flex: 0 0 30px;
}
.about-list span {
  font-size: 14px;
  line-height: 1.9;
  color: #4f5458;
}

/* الخدمات */
.services {
  background: var(--dark);
  color: #fff;
}
.services .section-copy {
  color: #979b9f;
}
.service-list {
  border-top: 1px solid var(--border-light);
}
.service-item {
  display: grid;
  grid-template-columns: 66px 1.1fr 1fr 54px;
  gap: 28px;
  align-items: center;
  min-height: 150px;
  border-bottom: 1px solid var(--border-light);
  transition: 0.3s;
  cursor: default;
}
.service-item:hover {
  background: rgba(255, 255, 255, 0.035);
  padding-inline: 18px;
}
.service-number {
  color: #767b7f;
  font-size: 12px;
}
.service-item h3 {
  margin: 0;
  font-size: clamp(25px, 2.9vw, 40px);
  font-weight: 500;
}
.service-item p {
  margin: 0;
  color: #91969a;
  font-size: 13px;
  line-height: 1.9;
}
.hover-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  transition: 0.3s;
}
.service-item:hover .hover-icon {
  background: #fff;
  color: #111;
  transform: rotate(-45deg);
}

/* رحلة العمل */
.process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.process-intro {
  position: sticky;
  top: 34px;
}
.process-intro .section-copy {
  max-width: 500px;
}
.steps {
  border-top: 1px solid var(--border);
  counter-reset: step;
}
.step {
  position: relative;
  padding: 34px 0 38px 76px;
  border-bottom: 1px solid var(--border);
}
.step:before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 0;
  top: 38px;
  font-size: 12px;
  color: #92969a;
}
.step h3 {
  margin: 0 0 10px;
  font-size: 26px;
}
.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 14px;
}

/* خبرة المناطق */
.areas {
  padding-top: 20px;
}
.area-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 14px;
}
.area-card {
  min-height: 470px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
  transition: 0.35s;
  cursor: default;
}
.area-card:nth-child(1) {
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.05)),
    url("https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1500&q=90");
}
.area-card:nth-child(2) {
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.05)),
    url("https://images.unsplash.com/photo-1600607688960-e095ff83135c?auto=format&fit=crop&w=1200&q=90");
}
.area-card:nth-child(3) {
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.05)),
    url("https://images.unsplash.com/photo-1501183638710-841dd1904471?auto=format&fit=crop&w=1200&q=90");
}
.area-card:hover {
  transform: translateY(-5px);
}
.area-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(183, 154, 104, 0);
  transition: 0.35s;
}
.area-card:hover:after {
  background: rgba(183, 154, 104, 0.08);
}
.area-content {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  padding: 28px;
}
.area-content small {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  margin-bottom: 8px;
  font-size: 11px;
}
.area-content h3 {
  margin: 0;
  font-size: 32px;
}
.area-content p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.9;
}

/* حاسبة العائد */
.calculator {
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
}
.calculator-copy .section-copy {
  color: #969b9f;
  max-width: 560px;
}
.calculator-card {
  background: #f5f0e8;
  color: #111;
  border-radius: 30px;
  padding: 34px;
  min-height: 500px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}
.calc-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}
.calc-title b {
  font-size: 19px;
}
.calc-title span {
  font-size: 11px;
  color: #777;
}
.calc-fields {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.calc-field label {
  display: block;
  margin-bottom: 8px;
  color: #75797d;
  font-size: 11px;
}
.calc-box {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  padding: 15px 16px;
  font-size: 13px;
}
.calc-result {
  margin-top: 22px;
  background: #111;
  color: #fff;
  border-radius: 18px;
  padding: 22px;
}
.calc-result small {
  color: #9a9ea2;
}
.calc-result strong {
  display: block;
  margin-top: 7px;
  font-size: 40px;
  font-weight: 600;
}

/* المطورون */
.developers-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
  align-items: start;
}
.developer-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.developer-logo {
  min-height: 132px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.28);
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  cursor: default;
  overflow: hidden;
}
.developer-logo:hover {
  background: #fff;
  transform: translateY(-2px);
}
.developer-logo img {
  max-height: 62px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: 0.3s;
}
.developer-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* لماذا بروك مارك */
.why {
  min-height: 720px;
  color: #fff;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(8, 10, 12, 0.96) 0%,
      rgba(8, 10, 12, 0.9) 27%,
      rgba(8, 10, 12, 0.63) 53%,
      rgba(8, 10, 12, 0.2) 78%,
      rgba(8, 10, 12, 0.1) 100%
    ),
    url("https://images.unsplash.com/photo-1600607687929-6f3a6c44e1b8?auto=format&fit=crop&w=2200&q=92")
      72% center/cover no-repeat;
}

.why:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.25), transparent 42%),
    radial-gradient(
      circle at 78% 48%,
      rgba(255, 255, 255, 0.08),
      transparent 32%
    );
}

.why .container {
  position: relative;
  z-index: 2;
}

.why-content {
  max-width: 790px;
  padding: 54px 0;
}

.why-content .section-kicker {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.why-content .section-title {
  max-width: 780px;
  color: #fff;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.34);
}

.why-content p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 2.05;
  font-size: 16px;
  margin: 28px 0 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.why-points {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
}

.why-point {
  min-height: 120px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background: rgba(10, 12, 14, 0.52);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
  transition: 0.3s ease;
}

.why-point:hover {
  background: rgba(10, 12, 14, 0.68);
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-3px);
}

.why-point b {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: #fff;
}

.why-point span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.9;
}

/* المدونة */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.blog-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  transition: 0.3s;
  cursor: default;
  border: 1px solid rgba(0, 0, 0, 0.035);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.08);
}
.blog-image {
  aspect-ratio: 1.45/1;
  overflow: hidden;
}
.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.blog-card:hover .blog-image img {
  transform: scale(1.035);
}
.blog-body {
  padding: 24px;
}
.blog-meta {
  font-size: 11px;
  color: #8a8d90;
  margin-bottom: 12px;
}
.blog-body h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.7;
}
.blog-body p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.blog-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #333;
  font-size: 12px;
  font-weight: 800;
}
.blog-card:hover .blog-more span {
  transform: translateX(-4px);
}
.blog-more span {
  transition: 0.3s;
}

/* التواصل */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.contact-details {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}
.contact-line {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.contact-line span {
  display: block;
  color: #8a8e92;
  font-size: 11px;
  margin-bottom: 6px;
}
.contact-line b {
  font-size: 14px;
}
.form-card {
  background: #fff;
  border-radius: 28px;
  padding: 36px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: grid;
  gap: 8px;
}
.form-group.full {
  grid-column: 1/-1;
}
.form-group label {
  color: #777b7f;
  font-size: 11px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d6d7d8;
  background: transparent;
  outline: none;
  padding: 12px 0;
}
.form-group textarea {
  min-height: 92px;
  resize: vertical;
}
.submit {
  width: 100%;
  border: 0;
  margin-top: 26px;
  padding: 16px 20px;
  border-radius: 100px;
  background: #111;
  color: #fff;
  font-weight: 800;
  transition: 0.3s;
}
.submit:hover {
  background: #25282a;
  transform: translateY(-2px);
}

/* الفوتر */
.footer {
  background: #0d0f11;
  color: #fff;
  padding: 64px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-logo {
  width: 64px;
  margin-bottom: 20px;
}
.footer-logo img {
  width: 100%;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  max-width: 520px;
  color: #93979b;
  line-height: 2;
  font-size: 13px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.footer-links h4 {
  margin: 0 0 14px;
  color: #74797d;
  font-size: 11px;
}
.footer-links a {
  display: block;
  margin: 10px 0;
  color: #d2d4d5;
  font-size: 13px;
  transition: 0.25s;
}
.footer-links a:hover {
  color: #fff;
}
.copyright {
  padding-top: 22px;
  color: #71767a;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: 0.3s ease;
}

.footer-socials a svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
  stroke: none;
}

.footer-socials a:nth-child(3) svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-socials a:hover {
  background: #fff;
  color: #111;
  border-color: #fff;
  transform: translateY(-3px);
}

/* الهاتف */
@media (max-width: 980px) {
  :root {
    --container: min(100% - 30px, 1220px);
  }
  .nav-links {
    position: absolute;
    top: 96px;
    right: 15px;
    left: 15px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #111315;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    overflow: hidden;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 14px 16px;
    border-radius: 12px;
  }
  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.06);
  }
  .nav-cta {
    border: 0;
  }
  .mobile-toggle {
    display: block;
  }
  .hero {
    height: auto;
    min-height: 790px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 220px;
    gap: 34px;
  }
  .hero-note {
    max-width: 520px;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-item:nth-child(2) {
    border-left: 0;
  }
  .about-grid,
  .process-grid,
  .calculator-grid,
  .developers-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .process-intro {
    position: relative;
    top: auto;
  }
  .area-grid {
    grid-template-columns: 1fr 1fr;
  }
  .area-card:first-child {
    grid-column: 1/-1;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  :root {
    --container: calc(100% - 24px);
  }
  .section {
    padding: 76px 0;
  }
  .nav {
    height: 82px;
  }
  .nav-links {
    top: 82px;
  }
  .logo {
    width: 38px;
    height: 52px;
  }
  .hero {
    min-height: 760px;
    background-position: 58% center;
  }
  .hero:after {
    display: none;
  }
  .hero-inner {
    padding-top: 190px;
    padding-bottom: 38px;
  }
  .hero h1 {
    font-size: 49px;
    line-height: 1.03;
    margin-bottom: 22px;
  }
  .hero-copy {
    font-size: 14px;
    line-height: 1.95;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
    min-height: 52px;
  }
  .hero-note strong {
    font-size: 20px;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .trust-item {
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 6px;
  }
  .section-head {
    display: block;
    margin-bottom: 34px;
  }
  .section-head .section-copy {
    margin-top: 18px;
  }
  .section-title {
    font-size: 39px;
    line-height: 1.18;
  }
  .about-grid {
    gap: 44px;
  }
  .about-media {
    min-height: 455px;
  }
  .about-media .large {
    width: 92%;
    height: 420px;
  }
  .about-media .small {
    width: 51%;
    height: 175px;
    border-width: 7px;
  }
  .about-seal {
    width: 92px;
    height: 92px;
    left: 12%;
    top: 24px;
    font-size: 10px;
  }
  .service-item {
    grid-template-columns: 42px 1fr 40px;
    min-height: auto;
    padding: 24px 0;
    gap: 14px;
  }
  .service-item p {
    display: none;
  }
  .service-item:hover {
    padding-inline: 10px;
  }
  .service-item h3 {
    font-size: 22px;
  }
  .step {
    padding: 28px 0 30px 50px;
  }
  .step:before {
    left: 0;
    top: 31px;
  }
  .step h3 {
    font-size: 22px;
  }
  .area-grid {
    grid-template-columns: 1fr;
  }
  .area-card:first-child {
    grid-column: auto;
  }
  .area-card {
    min-height: 390px;
  }
  .calculator-grid {
    gap: 42px;
  }
  .calculator-card {
    padding: 24px;
    min-height: auto;
  }
  .developer-logos {
    grid-template-columns: repeat(2, 1fr);
  }
  .developer-logo {
    min-height: 108px;
    padding: 16px;
  }
  .developer-logo img {
    max-width: 110px;
    max-height: 52px;
  }
  .why {
    min-height: auto;
    padding: 82px 0;
    background:
      linear-gradient(
        0deg,
        rgba(8, 10, 12, 0.94) 0%,
        rgba(8, 10, 12, 0.82) 55%,
        rgba(8, 10, 12, 0.48) 100%
      ),
      url("https://images.unsplash.com/photo-1600607687929-6f3a6c44e1b8?auto=format&fit=crop&w=1400&q=90")
        64% center/cover no-repeat;
  }
  .why-content {
    padding: 0;
    max-width: none;
  }
  .why-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.86);
  }
  .why-points {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .why-point {
    min-height: auto;
    background: rgba(10, 12, 14, 0.6);
    padding: 18px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-card {
    border-radius: 18px;
  }
  .form-card {
    padding: 25px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full {
    grid-column: auto;
  }
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
  .copyright {
    display: block;
    line-height: 1.9;
  }
  .copyright span {
    display: block;
    margin-top: 7px;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 43px;
  }
  .section-title {
    font-size: 35px;
  }
  .developer-logo img {
    max-width: 95px;
  }
}

/* Consultation form */
.brokmark-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.brokmark-form-message {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
}
.brokmark-form-message.success {
  background: #eaf7ee;
  color: #176b36;
}
.brokmark-form-message.error {
  background: #fff0f0;
  color: #9b1c1c;
}

@media (max-width: 980px) {
  .site-header.scrolled .nav-links {
    background: #111315;
  }

  .site-header.scrolled .nav-links a {
    color: #fff;
  }
}

/*NEW*/

/* =========================================
   FINAL MOBILE HORIZONTAL OVERFLOW FIX
   ========================================= */

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Prevent grid/flex children from creating horizontal overflow */
.hero-inner,
.trust-grid,
.about-grid,
.process-grid,
.area-grid,
.calculator-grid,
.developers-grid,
.contact-grid,
.footer-top {
  min-width: 0;
  max-width: 100%;
}

/* Important for grid children */
.hero-inner > *,
.trust-grid > *,
.about-grid > *,
.process-grid > *,
.area-grid > *,
.calculator-grid > *,
.developers-grid > *,
.contact-grid > *,
.footer-top > * {
  min-width: 0;
}

/* Prevent content from forcing a wider layout */
h1,
h2,
h3,
p,
span,
a,
b,
strong {
  max-width: 100%;
  overflow-wrap: break-word;
}

/* Images/media must never exceed their parent */
img,
video,
iframe,
svg {
  max-width: 100%;
}

/* Mobile */
@media (max-width: 700px) {
  .container,
  .nav,
  .hero-inner,
  .trust-grid {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  .calculator-card,
  .form-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .calc-box {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .calc-box span,
  .calc-box b {
    min-width: 0;
  }

  .service-item {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .service-item h3 {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .step {
    min-width: 0;
  }

  .why-content,
  .why-points,
  .why-point {
    min-width: 0;
    max-width: 100%;
  }

  .developer-logos {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .developer-logo {
    min-width: 0;
  }

  .footer-links {
    min-width: 0;
    max-width: 100%;
  }
}

.form-group input, .form-group textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #d6d7d8;
    background: transparent;
    outline: none;
    padding: 12px 0;
    direction: rtl !important;
}
