@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap");
:root {
  --primary: #0c7775;
  --primary-dark: #164f52;
  --primary-soft: #e9f6f5;
  --accent: #c99a98;
  --text: #142833;
  --muted: #667985;
  --border: #e7eeee;
  --white: #ffffff;
  --bg: #fbfdfd;
  --shadow: 0 18px 45px rgba(21, 79, 82, 0.09);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 999px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", Tahoma, Arial, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 238, 238, 0.75);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

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

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(22, 79, 82, 0.05);
}

.language-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font-weight: 800;
  cursor: pointer;
}

.language-switch button.is-active {
  color: var(--white);
  background: var(--primary);
}

.call-pill,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
}

.call-pill {
  padding: 11px 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 14px 30px rgba(12, 119, 117, 0.18);
}

.call-pill:hover,
.btn:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 3px;
  background: var(--primary-dark);
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(
      circle at 18% 10%,
      rgba(201, 154, 152, 0.16),
      transparent 28%
    ),
    radial-gradient(
      circle at 85% 18%,
      rgba(12, 119, 117, 0.11),
      transparent 32%
    ),
    var(--white);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 46px;
  padding-block: 56px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
  text-align: start;
}

.eyebrow,
.section-heading span,
.cta-kicker {
  display: inline-flex;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.25;
  letter-spacing: -1px;
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 strong {
  color: var(--primary);
  font-weight: 900;
}

.hero p {
  margin: 22px 0 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 18px;
}

.hero-features {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(94px, 1fr));
  gap: 10px;
}

.quick-feature {
  min-height: 104px;
  display: grid;
  place-items: center;
  gap: 6px;
  text-align: center;
  padding: 14px 8px;
  border-inline-end: 1px solid var(--border);
}

.quick-feature:last-child {
  border-inline-end: 0;
}

.quick-feature .icon {
  width: 34px;
  height: 34px;
  color: var(--primary);
}

.quick-feature span {
  font-size: 13px;
  font-weight: 900;
  color: var(--primary-dark);
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  min-height: 52px;
  padding: 13px 26px;
  border: 1px solid transparent;
  font-size: 15px;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 16px 30px rgba(12, 119, 117, 0.2);
}

.btn-outline {
  color: var(--primary-dark);
  background: transparent;
  border-color: var(--primary);
}

.btn-outline:hover {
  color: var(--white);
  background: var(--primary);
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 540px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0.1) 30%,
    rgba(255, 255, 255, 0) 58%
  );
}

html[dir="ltr"] .hero-visual::before {
  background: linear-gradient(
    270deg,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0.1) 30%,
    rgba(255, 255, 255, 0) 58%
  );
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section {
  padding-block: 72px;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.35;
  color: var(--primary-dark);
}

.section-heading p {
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.service-card,
.step-card,
.why-item,
.trust-item {
  background: var(--white);
  border: 1px solid rgba(231, 238, 238, 0.9);
  box-shadow: 0 16px 36px rgba(21, 79, 82, 0.06);
}

.service-card {
  min-height: 230px;
  border-radius: 22px;
  padding: 24px 18px;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 42px rgba(21, 79, 82, 0.1);
}

.service-card .icon {
  width: 50px;
  height: 50px;
  margin-inline: auto;
  color: var(--primary);
}

.service-card h3 {
  margin: 16px 0 8px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.how-section {
  background: linear-gradient(180deg, var(--bg), var(--white));
}

.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step-card {
  position: relative;
  border-radius: 24px;
  padding: 26px 18px 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
}

.step-number {
  position: absolute;
  inset-inline-start: 20px;
  top: 18px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(12, 119, 117, 0.22);
}

.step-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--primary);
}

.step-icon .icon {
  width: 42px;
  height: 42px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.why-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
}

.why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 28px 22px;
  box-shadow: none;
  border: 0;
  border-inline-end: 1px solid var(--border);
}

.why-item:last-child {
  border-inline-end: 0;
}

.why-item .icon {
  width: 42px;
  height: 42px;
  color: var(--primary);
}

.why-item h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 16px;
}

.why-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.cta-section {
  padding-top: 34px;
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: stretch;
  min-height: 330px;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 22px 50px rgba(12, 119, 117, 0.22);
}

.cta-content {
  padding: clamp(30px, 5vw, 56px);
  color: var(--white);
  text-align: start;
}

.cta-kicker {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
}

.cta-content h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.3;
}

.cta-content p {
  margin: 12px 0 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
}

.cta-buttons {
  display: flex;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.btn-light {
  color: var(--primary-dark);
  background: var(--white);
}

.btn-whatsapp {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
}

.cta-media {
  min-height: 320px;
  position: relative;
}

.cta-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 119, 117, 0.05),
    rgba(12, 119, 117, 0.42)
  );
}

html[dir="ltr"] .cta-media::after {
  background: linear-gradient(
    270deg,
    rgba(12, 119, 117, 0.05),
    rgba(12, 119, 117, 0.42)
  );
}

.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-strip {
  padding: 28px 0 34px;
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 12px;
  border: 0;
  border-inline-end: 1px solid var(--border);
  box-shadow: none;
  background: var(--white);
  color: var(--primary-dark);
  font-weight: 900;
  text-align: center;
}

.trust-item:last-child {
  border-inline-end: 0;
}

.trust-item .icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
  flex: 0 0 auto;
}

.site-footer {
  background: #f4faf9;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 34px;
}

.footer-logo {
  width: 210px;
  margin-bottom: 10px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  max-width: 520px;
}

.footer-contact {
  display: grid;
  gap: 6px;
  text-align: end;
  color: var(--primary-dark);
  font-weight: 800;
}

.copyright {
  padding: 14px 20px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.icon svg,
.icon {
  display: block;
}

@media (max-width: 1100px) {
  .brand img {
    width: 170px;
  }

  .main-nav {
    gap: 18px;
    font-size: 14px;
  }

  .call-pill {
    padding: 10px 14px;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .hero-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-feature:nth-child(2) {
    border-inline-end: 0;
  }

  .why-panel,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-item:nth-child(2),
  .trust-item:nth-child(2) {
    border-inline-end: 0;
  }

  .why-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 74px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    inset-inline: 14px;
    top: 82px;
    z-index: 45;
    display: grid;
    justify-content: stretch;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(20, 40, 51, 0.12);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.2s ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 11px 12px;
    border-radius: 12px;
  }

  .main-nav a:hover {
    background: var(--primary-soft);
  }

  .main-nav a::after {
    display: none;
  }

  .call-pill span:not(.call-icon) {
    display: none;
  }

  .call-pill {
    width: 44px;
    height: 44px;
    padding: 0;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 38px 48px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    min-height: 430px;
    order: -1;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-card {
    grid-template-columns: 1fr;
  }

  .cta-media {
    order: -1;
    min-height: 260px;
  }

  .footer-inner {
    display: grid;
    text-align: center;
  }

  .footer-logo {
    margin-inline: auto;
  }

  .footer-contact {
    text-align: center;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 136px;
  }

  .header-inner {
    gap: 10px;
  }

  .language-switch button {
    padding: 6px 8px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p,
  .cta-content p {
    font-size: 16px;
  }

  .hero-features,
  .services-grid,
  .steps-grid,
  .why-panel,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .quick-feature,
  .quick-feature:nth-child(2),
  .why-item,
  .why-item:nth-child(2),
  .trust-item,
  .trust-item:nth-child(2) {
    border-inline-end: 0;
  }

  .quick-feature {
    min-height: auto;
    grid-template-columns: auto 1fr;
    justify-content: start;
    text-align: start;
    border-bottom: 1px solid var(--border);
  }

  .quick-feature:last-child {
    border-bottom: 0;
  }

  .hero-buttons,
  .cta-buttons {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 360px;
    border-radius: 24px;
  }

  .section {
    padding-block: 54px;
  }

  .service-card {
    min-height: auto;
  }

  .why-item,
  .trust-item {
    border-bottom: 1px solid var(--border);
  }

  .why-item:last-child,
  .trust-item:last-child {
    border-bottom: 0;
  }

  .cta-content {
    padding: 30px 22px 34px;
  }

  .cta-card {
    border-radius: 24px;
  }
}
