/* Shared visual language from the original Sepidsafar website. */

@font-face {
  font-family: 'Pinar';
  src: url('../fonts/pinar/Pinar-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Pinar';
  src: url('../fonts/pinar/Pinar-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Pinar';
  src: url('../fonts/pinar/Pinar-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Pinar';
  src: url('../fonts/pinar/Pinar-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Hasti';
  src: url('../fonts/hasti/Hasti-HeavyRD.woff') format('woff');
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: 'Hasti';
  src: url('../fonts/hasti/Hasti-Heavy.woff') format('woff');
  font-weight: 900;
  font-display: swap;
}

:root {
  --green: #176b4a;
  --green-deep: #0d3d2c;
  --green-soft: #2b7d5e;
  --navy: var(--green);
  --navy-deep: var(--green-deep);
  --navy-soft: var(--green-soft);
  --gold: #c79a3b;
  --gold-deep: #8a6418;
  --ink: #17231d;
  --muted: #5e6d64;
  --paper: #ffffff;
  --paper-blue: #f3f7f2;
  --warm-white: #fbfcf8;
  --line: #e4eae4;
  --white: #ffffff;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --shape-sm: 10px;
  --shape-md: 18px;
  --shape-lg: 28px;
  --elevation-1: 0 2px 8px rgba(23, 35, 29, .05);
  --elevation-2: 0 10px 28px rgba(23, 35, 29, .08);
  --elevation-3: 0 24px 60px rgba(23, 35, 29, .11);
  --md-sys-color-primary: #176b4a;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-secondary: #c79a3b;
  --md-sys-color-on-secondary: #231b0c;
  --md-sys-color-secondary-container: #f6edd9;
  --md-sys-color-on-secondary-container: #4e390f;
  --md-sys-color-surface: #ffffff;
  --md-sys-color-surface-container-low: #fbfcf8;
  --md-sys-color-surface-container: #f3f7f2;
  --md-sys-color-on-surface: #17231d;
  --md-sys-color-outline: #d9e2da;
  --md-sys-color-shadow: #17231d;
  --md-ref-typeface-brand: 'Pinar', Tahoma, sans-serif;
  --md-ref-typeface-plain: 'Pinar', Tahoma, sans-serif;
  --md-sys-typescale-label-large-font: 'Pinar', Tahoma, sans-serif;
  --md-sys-typescale-label-large-size: 1rem;
  --md-sys-typescale-label-large-weight: 600;
  --md-sys-shape-corner-full: 999px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Pinar', Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; }
h1, h2, h3, h4, h5, h6 { font-family: 'Hasti', 'Pinar', Tahoma, sans-serif; font-weight: 800; text-wrap: balance; }
.skip-link { position: fixed; z-index: 1000; top: 10px; inset-inline-start: 12px; padding: 10px 16px; color: white; background: var(--navy-deep); border-radius: var(--shape-sm); box-shadow: var(--elevation-2); transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
a, button, summary, md-filled-button, md-outlined-button { touch-action: manipulation; }
section[id] { scroll-margin-top: 24px; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding-block: clamp(86px, 10vw, 145px); }
.scroll-progress { position: fixed; z-index: 80; top: 0; inset-inline: 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--gold), var(--green)); box-shadow: 0 2px 12px rgba(199,154,59,.2); pointer-events: none; }

.hero {
  min-height: 100svh;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 16% 18%, rgba(199, 154, 59, .08), transparent 24%),
    radial-gradient(circle at 82% 42%, rgba(23, 107, 74, .055), transparent 30%),
    linear-gradient(115deg, #ffffff 0%, #fbfcf8 58%, #f3f7f2 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .24;
  pointer-events: none;
  background-image: linear-gradient(rgba(23,107,74,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(23,107,74,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to left, black, transparent 75%);
}
.site-header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  z-index: 8;
}
.brand { display: inline-flex; width: 206px; flex: none; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 28px); color: var(--muted); font-size: clamp(12px, 1vw, 14px); white-space: nowrap; }
.main-nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; transition: color .2s ease; }
.main-nav a::after { content: ''; position: absolute; inset-inline: 50%; bottom: 3px; height: 2px; background: var(--gold); transition: inset .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--navy); }
.main-nav a:hover::after, .main-nav a:focus-visible::after { inset-inline: 0; }
.main-nav a[data-active='true'] { color: var(--navy); font-weight: 700; }
.main-nav a[data-active='true']::after { inset-inline: 0; }
.header-call { display: flex; flex-direction: column; align-items: flex-end; padding-inline-start: 18px; border-inline-start: 1px solid var(--line); line-height: 1.35; white-space: nowrap; }
.header-call span { color: var(--muted); font-size: 12px; }
.header-call strong { color: var(--navy); font-size: 15px; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { width: 46px; height: 46px; list-style: none; display: grid; place-content: center; gap: 5px; border: 1px solid var(--line); background: rgba(255,255,255,.72); cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { width: 20px; height: 2px; background: var(--navy); }
.mobile-menu nav { position: absolute; top: 56px; inset-inline-end: 0; width: 210px; padding: 12px; background: white; border: 1px solid var(--line); box-shadow: var(--elevation-2); }
.mobile-menu nav a { min-height: 44px; display: flex; align-items: center; padding-inline: 12px; border-bottom: 1px solid var(--line); }
.mobile-menu nav a:last-child { border: 0; }
.mobile-menu nav a[data-active='true'] { color: var(--navy); background: var(--paper-blue); border-inline-start: 3px solid var(--gold); font-weight: 700; }

.hero-content {
  min-height: calc(100svh - 164px);
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
  position: relative;
  z-index: 2;
  padding-block: 38px 94px;
}
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--navy-soft); font-size: 14px; font-weight: 600; margin: 0 0 20px; }
.eyebrow span { width: 28px; height: 2px; background: var(--gold); }
.hero h1 { margin: 0; color: var(--ink); font-size: clamp(52px, 5.9vw, 84px); line-height: 1.08; letter-spacing: -2px; font-weight: 800; }
.hero h1 em { color: var(--green); font-style: normal; font-weight: 800; }
.hero-lead { max-width: 570px; margin: 26px 0 32px; color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.material-action { min-width: 160px; direction: rtl; font-family: 'Pinar', Tahoma, sans-serif; font-size: clamp(13px, 1.1vw, 16px); vertical-align: middle; white-space: nowrap; --md-filled-button-container-height: 54px; --md-outlined-button-container-height: 54px; --md-filled-button-container-shape: 12px; --md-outlined-button-container-shape: 12px; --md-filled-button-leading-space: 24px; --md-filled-button-trailing-space: 24px; --md-outlined-button-leading-space: 24px; --md-outlined-button-trailing-space: 24px; --md-filled-button-hover-container-elevation: 2; --md-filled-button-pressed-container-elevation: 0; }
.material-action-filled { --md-filled-button-container-color: var(--navy); --md-filled-button-label-text-color: white; --md-filled-button-hover-label-text-color: white; --md-filled-button-focus-label-text-color: white; --md-filled-button-pressed-label-text-color: white; --md-filled-button-hover-state-layer-color: white; --md-filled-button-pressed-state-layer-color: white; }
.material-action-outlined { --md-outlined-button-outline-color: #9aaba0; --md-outlined-button-label-text-color: var(--navy); --md-outlined-button-hover-label-text-color: var(--navy-deep); --md-outlined-button-focus-label-text-color: var(--navy-deep); --md-outlined-button-pressed-label-text-color: var(--navy-deep); --md-outlined-button-hover-state-layer-color: var(--navy); --md-outlined-button-pressed-state-layer-color: var(--navy); }
.material-action-gold { --md-filled-button-container-color: var(--gold); --md-filled-button-label-text-color: #231b0c; --md-filled-button-hover-label-text-color: #231b0c; --md-filled-button-focus-label-text-color: #231b0c; --md-filled-button-pressed-label-text-color: #231b0c; --md-filled-button-hover-state-layer-color: #231b0c; --md-filled-button-pressed-state-layer-color: #231b0c; }
md-filled-button:not(:defined), md-outlined-button:not(:defined) { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; border-radius: 12px; font-weight: 600; cursor: pointer; }
md-filled-button:not(:defined) { color: white; background: var(--navy); }
md-outlined-button:not(:defined) { color: var(--navy); background: transparent; border: 1px solid #9aaba0; }
.material-action-gold:not(:defined) { color: #231b0c; background: var(--gold); }
.trust-line { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.trust-mark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #e5f2ec; color: #14734a; font-weight: 700; }
.trust-mark::before { content: ''; width: 10px; height: 6px; border-inline-start: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translate(1px, -1px); }
.trust-line p { margin: 0; display: flex; flex-direction: column; line-height: 1.5; }
.trust-line strong { font-size: 13px; color: var(--ink); }
.trust-line small { font-size: 12px; color: var(--muted); }

.hero-visual { min-height: 555px; position: relative; display: flex; align-items: center; justify-content: center; padding: 0 24px 42px 0; }
.hero-photo-shell { width: min(470px, 96%); height: 555px; position: relative; overflow: hidden; border-radius: 235px 235px 16px 16px; box-shadow: 0 35px 80px rgba(23,35,29,.18); background: var(--navy-deep); }
.hero-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; transition: transform .7s ease; }
.hero-photo-shell:hover .hero-photo { transform: scale(1.025); }
.photo-tint { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,61,44,.8) 0%, rgba(13,61,44,.05) 46%, rgba(199,154,59,.06)); }
.photo-caption { position: absolute; inset-inline: 34px; bottom: 30px; margin: 0; color: rgba(255,255,255,.78); font-size: 13px; }
.photo-caption span { color: white; display: block; font-weight: 700; font-size: 18px; }
.experience-card { position: absolute; z-index: 2; width: 330px; inset-inline-start: -18px; bottom: 16px; padding: 24px 26px; border: 1px solid rgba(255,255,255,.82); border-radius: var(--shape-md); background: rgba(255,255,255,.92); backdrop-filter: blur(14px); box-shadow: var(--elevation-3); }
.experience-card p { margin: 0 0 2px; color: var(--muted); font-size: 12px; }
.experience-card > strong { color: var(--ink); font-size: clamp(17px, 1.5vw, 21px); white-space: nowrap; }
.experience-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--line); }
.experience-items span { display: flex; flex-direction: column; color: var(--muted); font-size: 11px; }
.experience-items b { color: var(--navy); font-size: 18px; line-height: 1.2; }
.award-pill { position: absolute; z-index: 3; top: 92px; inset-inline-end: -12px; padding: 11px 16px; border-radius: 999px; background: var(--navy); color: white; font-size: clamp(10px, .85vw, 12px); white-space: nowrap; box-shadow: 0 12px 28px rgba(23,107,74,.22); }
.award-pill span { width: 8px; height: 8px; display: inline-block; margin-inline-end: 8px; background: var(--gold); transform: rotate(45deg); }
.hero-footer { position: absolute; z-index: 3; bottom: 22px; inset-inline: 0; display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 12px; }
.hero-footer p { margin: 0; }
.hero-footer span { width: 34px; height: 1px; background: var(--line); }

.proof-strip { color: var(--ink); background: var(--warm-white); border-block: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { min-height: 118px; display: flex; flex-direction: column; justify-content: center; padding: 24px 32px; border-inline-start: 1px solid var(--line); }
.proof-grid > div:last-child { border-inline-end: 1px solid var(--line); }
.proof-grid strong { color: var(--green); font-size: clamp(21px, 2vw, 25px); line-height: 1.4; white-space: nowrap; }
.proof-grid span { color: var(--muted); font-size: clamp(10px, .9vw, 12px); white-space: nowrap; }

.section-heading { margin-bottom: 48px; }
.section-kicker { margin: 0 0 10px; color: var(--gold-deep); font-size: 13px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.section-kicker.light { color: var(--gold-deep); }
.section-heading h2, .about-copy h2, .services-intro h2, .tawaf-copy h2, .contact-copy h2, .faq-intro h2, .consultation h2 { margin: 0; font-size: clamp(34px, 4vw, 53px); line-height: 1.3; letter-spacing: -1px; }
.split-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; }
.split-heading > p { max-width: 430px; margin: 0; color: var(--muted); }
.journeys { background: var(--paper); }
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.journey-card { min-height: 390px; position: relative; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.92); box-shadow: var(--elevation-1); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.journey-card::before { content: ''; position: absolute; width: 165px; height: 165px; border: 1px solid rgba(23,107,74,.08); border-radius: 50%; top: -88px; inset-inline-end: -65px; box-shadow: 0 0 0 25px rgba(23,107,74,.025), 0 0 0 50px rgba(23,107,74,.018); }
.journey-card:hover { transform: translateY(-4px); border-color: rgba(23,107,74,.28); box-shadow: var(--elevation-2); }
.journey-card:nth-child(2) { background: var(--paper-blue); color: var(--ink); border-color: #d9e2da; }
.journey-card:nth-child(2)::before { border-color: rgba(23,107,74,.1); box-shadow: 0 0 0 25px rgba(23,107,74,.025), 0 0 0 50px rgba(23,107,74,.018); }
.journey-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 55px; position: relative; z-index: 1; }
.journey-top > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: var(--paper-blue); font-size: 13px; font-weight: 700; }
.journey-card:nth-child(2) .journey-top > span { color: var(--green); background: white; }
.journey-top small { color: var(--muted); }
.journey-card:nth-child(2) .journey-top small { color: var(--muted); }
.journey-subtitle { margin: 0 0 3px; color: var(--gold-deep) !important; font-size: 13px; font-weight: 600; white-space: nowrap; }
.journey-card:nth-child(2) .journey-subtitle { color: var(--gold-deep) !important; }
.journey-card h3 { margin: 0 0 12px; color: var(--ink); font-size: 31px; }
.journey-card:nth-child(2) h3 { color: var(--ink); }
.journey-card > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.journey-card:nth-child(2) > p { color: var(--muted); }
.journey-bottom { position: absolute; inset-inline: 30px; bottom: 27px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.journey-card:nth-child(2) .journey-bottom { border-color: var(--line); }
.journey-bottom > span { color: var(--muted); white-space: nowrap; }
.journey-card:nth-child(2) .journey-bottom > span { color: var(--muted); }
.journey-bottom a { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; white-space: nowrap; }
.journey-bottom b::before, .text-link span::before { content: '←'; }
.journey-card:nth-child(2) .journey-bottom a { color: var(--green); }

.services { position: relative; overflow: hidden; color: var(--ink); background: var(--paper-blue); border-block: 1px solid var(--line); }
.services::before { content: ''; position: absolute; width: 560px; height: 560px; border: 1px solid rgba(23,107,74,.07); border-radius: 50%; top: -220px; inset-inline-start: -180px; box-shadow: 0 0 0 80px rgba(23,107,74,.018), 0 0 0 160px rgba(23,107,74,.012); }
.services-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(60px, 8vw, 120px); position: relative; z-index: 1; }
.services-intro { padding-top: 22px; }
.services-intro h2 { font-size: clamp(34px, 3.4vw, 46px); }
.services-intro > p:not(.section-kicker) { color: var(--muted); line-height: 2; margin: 25px 0 30px; }
.text-link { min-height: 46px; display: inline-flex; align-items: center; gap: 14px; color: var(--green); font-size: clamp(13px, 1.15vw, 16px); font-weight: 600; white-space: nowrap; }
.text-link span { font-size: 20px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.service-card { min-height: 218px; padding: 27px; background: white; border: 1px solid var(--line); border-radius: var(--shape-md); box-shadow: var(--elevation-1); transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.service-card:hover { background: var(--warm-white); transform: translateY(-3px); box-shadow: var(--elevation-2); }
.service-card > span { color: var(--gold-deep); font-size: 12px; }
.service-card h3 { margin: 27px 0 8px; font-size: 19px; }
.service-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.featured-service { grid-column: 1 / -1; min-height: auto; display: grid; grid-template-columns: 90px 1fr 1.35fr auto; align-items: center; gap: 22px; background: white; color: var(--ink); border-color: #d9e2da; border-inline-start: 4px solid var(--gold); }
.featured-service > span { color: var(--gold-deep); }
.featured-service p { color: var(--muted); }
.featured-service h3 { margin: 0; }
.featured-service a { min-height: 44px; display: inline-flex; align-items: center; color: var(--green); font-size: clamp(12px, 1vw, 14px); font-weight: 700; white-space: nowrap; border-bottom: 1px solid rgba(23,107,74,.32); }

.tawaf-section {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  padding-bottom: 0;
  background: var(--warm-white);
}
.tawaf-layout { position: relative; z-index: 1; }
.tawaf-copy { max-width: 860px; text-align: center; }
.tawaf-copy > p:not(.section-kicker) { max-width: 650px; margin: 25px auto 22px; color: var(--muted); line-height: 2; }
.tawaf-quote { margin: 0; color: var(--green); font-family: 'Hasti', 'Pinar', Tahoma, sans-serif; font-size: clamp(20px, 2vw, 28px); line-height: 1.8; }
.tawaf-visual { width: 100%; min-width: 0; margin-top: clamp(48px, 6vw, 82px); }
.kaaba-scene-wrap { width: 100%; height: clamp(560px, 68vw, 820px); position: relative; overflow: hidden; direction: ltr; background: transparent; isolation: isolate; }
.kaaba-parallax-layer { position: absolute; inset: -72px 0; will-change: transform; }
.kaaba-canvas { width: 100%; height: 100%; position: relative; background: #c4beb3; }
.kaaba-canvas canvas { width: 100%; height: 100%; }
.kaaba-fallback { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 30px; color: rgba(255,255,255,.65); text-align: center; }

.about { background: var(--paper-blue); border-block: 1px solid var(--line); }
.about-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(65px, 9vw, 130px); align-items: center; }
.about-mark { min-height: 500px; position: relative; display: grid; place-items: center; }
.about-mark::before, .about-mark::after { content: ''; position: absolute; border: 1px solid rgba(23,107,74,.14); border-radius: 50%; }
.about-mark::before { width: 420px; height: 420px; }
.about-mark::after { width: 320px; height: 320px; border-color: rgba(199,154,59,.24); }
.about-orbit { width: 220px; height: 220px; position: relative; z-index: 1; border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; color: white; background: var(--navy); box-shadow: 0 30px 65px rgba(23,107,74,.2); }
.about-orbit span { color: var(--gold); font-size: 58px; font-weight: 700; line-height: 1; }
.about-orbit small { color: rgba(255,255,255,.7); }
.orbit-note { position: absolute; z-index: 2; min-width: 145px; padding: 14px 18px; background: white; border: 1px solid var(--line); color: var(--muted); box-shadow: var(--elevation-2); font-size: 12px; }
.orbit-note b { display: block; color: var(--navy); font-size: 24px; }
.note-one { top: 82px; inset-inline-end: 6px; }
.note-two { bottom: 68px; inset-inline-start: 8px; }
.about-copy h2 { color: var(--ink); }
.about-copy blockquote { margin: 28px 0 20px; padding: 20px 24px; border-inline-start: 3px solid var(--gold); border-radius: var(--shape-md); color: var(--ink); background: white; box-shadow: var(--elevation-1); font-size: 18px; line-height: 1.95; }
.about-copy > p:not(.section-kicker) { margin: 0; color: var(--muted); line-height: 2; }
.manager-sign { display: flex; flex-direction: column; margin-top: 30px; }
.manager-sign span { color: var(--navy); font-weight: 700; font-size: 19px; }
.manager-sign small { color: var(--muted); }

.process { background: var(--paper); }
.centered-heading { max-width: 630px; margin-inline: auto; text-align: center; }
.centered-heading > p:last-child { color: var(--muted); }
.process-grid { list-style: none; padding: 0; margin: 60px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.process-grid li { min-height: 245px; position: relative; padding: 30px 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.process-grid li:last-child { border-inline-end: 1px solid var(--line); }
.process-grid li::after { content: ''; position: absolute; top: -4px; inset-inline-start: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.process-grid li > span { color: var(--gold-deep); font-size: 13px; font-weight: 700; }
.process-grid h3 { margin: 35px 0 9px; color: var(--ink); font-size: 20px; }
.process-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }

.consultation { padding-block: 0; background: var(--paper); }
.consultation-card { min-height: 230px; padding: 50px clamp(35px, 6vw, 76px); display: flex; align-items: center; justify-content: space-between; gap: 45px; color: var(--ink); background: var(--paper-blue); position: relative; overflow: hidden; border: 1px solid #d9e2da; border-radius: var(--shape-lg); box-shadow: var(--elevation-2); }
.consultation-card::after { content: ''; position: absolute; width: 310px; height: 310px; border: 1px solid rgba(23,107,74,.08); border-radius: 50%; inset-inline-end: -115px; top: -140px; box-shadow: 0 0 0 50px rgba(23,107,74,.018); }
.consultation-card > div { position: relative; z-index: 1; }
.consultation-card p { margin: 0 0 7px; color: var(--gold-deep); font-size: 13px; }
.consultation-card h2 { max-width: 650px; font-size: clamp(28px, 3.2vw, 43px); }
.consultation-actions { display: flex; align-items: center; gap: 22px; flex: none; }
.consultation-actions > span { display: flex; flex-direction: column; line-height: 1.5; }
.consultation-actions small { color: var(--muted); }
.consultation-actions b { font-size: 15px; white-space: nowrap; }

.faq { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(55px, 8vw, 120px); }
.faq-intro { position: sticky; top: 40px; align-self: start; }
.faq-intro > p:last-child { color: var(--muted); line-height: 1.9; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { padding-inline: 22px; border: 1px solid var(--line); border-radius: var(--shape-md); background: rgba(255,255,255,.74); box-shadow: var(--elevation-1); transition: background .2s ease, box-shadow .2s ease; }
.faq-list details[open] { background: white; box-shadow: var(--elevation-2); }
.faq-list summary { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; color: var(--ink); font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { width: 34px; height: 34px; position: relative; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold-deep); transition: transform .2s ease; }
.faq-list summary span::before, .faq-list summary span::after { content: ''; position: absolute; width: 12px; height: 2px; border-radius: 2px; background: currentColor; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -4px 0 25px; padding-inline-end: 50px; color: var(--muted); font-size: 14px; line-height: 1.95; }

.contact { color: var(--ink); background: var(--paper-blue); position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.contact::after { content: ''; position: absolute; width: 540px; height: 540px; border: 1px solid rgba(23,107,74,.07); border-radius: 50%; inset-inline-start: -140px; bottom: -310px; box-shadow: 0 0 0 80px rgba(23,107,74,.016); }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 9vw, 130px); position: relative; z-index: 1; }
.contact-copy > p:last-child { color: var(--muted); line-height: 2; max-width: 420px; }
.contact-panel { border-top: 1px solid var(--line); }
.contact-item { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 130px 1fr auto; gap: 25px; align-items: start; }
.contact-item > span { color: var(--gold-deep); font-size: 12px; white-space: nowrap; }
.contact-item p { margin: 0; color: var(--muted); line-height: 1.95; }
.contact-item > a { min-height: 44px; display: inline-flex; align-items: center; color: var(--green); font-size: 12px; border-bottom: 1px solid rgba(23,107,74,.34); }
.phone-list { display: flex; flex-wrap: wrap; gap: 12px; }
.phone-list a { min-height: 46px; display: inline-flex; align-items: center; padding: 8px 14px; color: var(--green); background: white; border: 1px solid #d9e2da; white-space: nowrap; transition: background .2s ease, border-color .2s ease; }
.phone-list a:hover { background: var(--warm-white); border-color: rgba(23,107,74,.32); }

.site-footer { color: var(--muted); background: white; }
.footer-main { display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 80px; padding-block: 70px; }
.footer-brand img { width: 190px; height: auto; }
.footer-brand p { max-width: 420px; margin: 20px 0 0; line-height: 1.9; }
.footer-main nav, .footer-license { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-main strong { color: var(--ink); margin-bottom: 7px; }
.footer-main nav a { min-height: 36px; display: inline-flex; align-items: center; font-size: 14px; }
.footer-license p { margin: 0; font-size: 14px; }
.footer-license span { color: var(--gold-deep); font-weight: 600; white-space: nowrap; }
.footer-bottom { min-height: 72px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); font-size: 12px; }
.footer-bottom p { margin: 0; }
.mobile-call-bar { display: none; }

a:focus-visible, summary:focus-visible { outline: 3px solid rgba(199,154,59,.72); outline-offset: 4px; border-radius: 5px; }

@media (max-width: 1000px) {
  .main-nav { display: none; }
  .mobile-menu { display: block; }
  .header-call { margin-inline-start: auto; }
  .hero-content { grid-template-columns: 1fr; padding-block: 50px 115px; }
  .hero-copy { text-align: center; }
  .eyebrow, .hero-actions, .trust-line { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-visual { width: min(620px, 100%); margin-inline: auto; }
  .hero-footer { display: none; }
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-card:last-child { grid-column: 1 / -1; }
  .services-layout, .faq-layout, .contact-layout { grid-template-columns: 1fr; }
  .tawaf-copy { max-width: 760px; }
  .kaaba-scene-wrap { height: 650px; }
  .faq-intro { position: static; }
  .about-layout { gap: 50px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid li:nth-child(2) { border-inline-end: 1px solid var(--line); }
  .process-grid li:nth-child(n+3) { border-top: 0; }
  .consultation-card { flex-direction: column; align-items: flex-start; }
  .footer-main { gap: 45px; }
}

@media (max-width: 1100px) {
  .services-layout { grid-template-columns: 1fr; gap: 52px; }
  .services-intro { max-width: 720px; }
}

@media (max-width: 760px) {
  .section { padding-block: 80px; }
  .split-heading { flex-direction: column; align-items: flex-start; gap: 20px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid > div:nth-child(2) { border-inline-end: 1px solid var(--line); }
  .proof-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-card:last-child { grid-column: auto; }
  .services-layout { gap: 44px; }
  .service-grid { grid-template-columns: 1fr; }
  .featured-service { grid-column: auto; grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .about-mark { min-height: 430px; order: 2; }
  .about-mark::before { width: 360px; height: 360px; }
  .about-mark::after { width: 275px; height: 275px; }
  .contact-item { grid-template-columns: 1fr; gap: 12px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { padding-bottom: 68px; }
  .container { width: min(100% - 28px, 1180px); }
  .site-header { height: 86px; }
  .brand { width: 150px; }
  .header-call { display: none; }
  .hero-content { padding-top: 30px; gap: 54px; }
  .hero h1 { font-size: 50px; }
  .hero-lead { font-size: 16px; line-height: 1.9; }
  .hero-actions .material-action, .consultation-actions .material-action { width: 100%; }
  .hero-visual { min-height: 470px; padding-inline: 0; }
  .hero-photo-shell { height: 470px; width: 95%; }
  .experience-card { width: 290px; inset-inline-start: 0; bottom: -6px; padding: 20px; }
  .experience-card > strong { font-size: 18px; }
  .award-pill { top: 45px; inset-inline-end: -4px; font-size: 11px; }
  .photo-caption { inset-inline: 24px; bottom: 118px; }
  .proof-grid > div { padding: 20px; min-height: 100px; }
  .proof-grid strong { font-size: 21px; }
  .journey-card { min-height: 375px; padding: 26px; }
  .journey-bottom { inset-inline: 26px; }
  .kaaba-scene-wrap { height: 500px; }
  .kaaba-parallax-layer { inset-block: -58px; }
  .about-mark { min-height: 385px; }
  .about-mark::before { width: 315px; height: 315px; }
  .about-mark::after { width: 245px; height: 245px; }
  .about-orbit { width: 190px; height: 190px; }
  .about-orbit span { font-size: 50px; }
  .orbit-note { min-width: 126px; padding: 11px 14px; }
  .note-one { inset-inline-end: -4px; top: 45px; }
  .note-two { inset-inline-start: -4px; bottom: 38px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { border-inline-end: 1px solid var(--line); }
  .process-grid li:nth-child(n+2) { border-top: 0; }
  .consultation-card { width: 100%; padding: 40px 28px; border-radius: 0; }
  .consultation-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .consultation-actions > span { align-items: center; }
  .faq-list summary { min-height: 74px; }
  .faq-list details p { padding-inline-end: 0; }
  .footer-main { grid-template-columns: 1fr; padding-block: 55px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; justify-content: center; gap: 4px; text-align: center; }
  .mobile-call-bar { position: fixed; z-index: 30; display: flex; align-items: center; justify-content: space-between; inset-inline: 10px; bottom: 10px; min-height: 56px; padding: 10px 18px; color: white; background: var(--navy); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 16px 40px rgba(23,107,74,.28); }
  .mobile-call-bar span { color: #f3d78e; font-weight: 600; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
